aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos
diff options
context:
space:
mode:
authorkukhariev <q_h@inbox.ru>2022-08-31 19:11:18 +0300
committerChocobozzz <chocobozzz@cpy.re>2022-09-28 11:56:14 +0200
commit9d84ac5ec1cb0babf385392e8081717cdd2b6b66 (patch)
tree34e1ab75da37d347838041a5923ef380b614e94e /client/src/app/+videos
parentf2a16d93b476aff16d5353e4d44350298ec7e01c (diff)
downloadPeerTube-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/src/app/+videos')
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts2
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 () {