fix: keep partially uploaded files
Do not delete a partially uploaded file when closing the upload page fixes #5078, #4432
This commit is contained in:
parent
f2a16d93b4
commit
9d84ac5ec1
|
@ -96,7 +96,7 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnDestroy () {
|
ngOnDestroy () {
|
||||||
this.cancelUpload()
|
this.resumableUploadService.disconnect();
|
||||||
}
|
}
|
||||||
|
|
||||||
canDeactivate () {
|
canDeactivate () {
|
||||||
|
|
Loading…
Reference in New Issue