diff options
-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 () { |