Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

fix: keep partially uploaded files

kukhariev9d84ac5ec1cb
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 66a3967c71..4a100a3909 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
}
ngOnDestroy () {
- this.cancelUpload()
+ this.resumableUploadService.disconnect();
}
canDeactivate () {