diff options
author | kukhariev <q_h@inbox.ru> | 2022-08-31 19:11:18 +0300 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-09-28 11:56:14 +0200 |
commit | 9d84ac5ec1cb0babf385392e8081717cdd2b6b66 (patch) | |
tree | 34e1ab75da37d347838041a5923ef380b614e94e /client | |
parent | f2a16d93b476aff16d5353e4d44350298ec7e01c (diff) | |
download | PeerTube-9d84ac5ec1cb0babf385392e8081717cdd2b6b66.tar.gz PeerTube-9d84ac5ec1cb0babf385392e8081717cdd2b6b66.tar.zst PeerTube-9d84ac5ec1cb0babf385392e8081717cdd2b6b66.zip |
fix: keep partially uploaded files
Do not delete a partially uploaded file when closing the upload page
fixes #5078, #4432
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts index 66a3967c7..4a100a390 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts +++ b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts | |||
@@ -96,7 +96,7 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy | |||
96 | } | 96 | } |
97 | 97 | ||
98 | ngOnDestroy () { | 98 | ngOnDestroy () { |
99 | this.cancelUpload() | 99 | this.resumableUploadService.disconnect(); |
100 | } | 100 | } |
101 | 101 | ||
102 | canDeactivate () { | 102 | canDeactivate () { |