mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
File upload clean up when device disconnects in the middle of a upload.
This commit is contained in:
parent
3b1ec36742
commit
9af56c43fa
2 changed files with 2 additions and 0 deletions
|
@ -4764,6 +4764,7 @@
|
||||||
QE('p13FolderUp', false);
|
QE('p13FolderUp', false);
|
||||||
p13setActions();
|
p13setActions();
|
||||||
if (files != null) { files.Stop(); files = null; }
|
if (files != null) { files.Stop(); files = null; }
|
||||||
|
if (uploadFile != null) { p13uploadFileTransferDone(); uploadFile = null; }
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
p13targetpath = '';
|
p13targetpath = '';
|
||||||
|
|
|
@ -9102,6 +9102,7 @@
|
||||||
p13setActions();
|
p13setActions();
|
||||||
if (files != null) { files.Stop(); files = null; }
|
if (files != null) { files.Stop(); files = null; }
|
||||||
if (xxdialogTag == 'fileMsgDialog') { setDialogMode(0); }
|
if (xxdialogTag == 'fileMsgDialog') { setDialogMode(0); }
|
||||||
|
if (uploadFile != null) { p13uploadFileTransferDone(); uploadFile = null; }
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
p13targetpath = '';
|
p13targetpath = '';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue