mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 07:05:52 -05:00
File upload clean up when device disconnects in the middle of a upload.
This commit is contained in:
parent
3b1ec36742
commit
9af56c43fa
@ -4764,6 +4764,7 @@
|
||||
QE('p13FolderUp', false);
|
||||
p13setActions();
|
||||
if (files != null) { files.Stop(); files = null; }
|
||||
if (uploadFile != null) { p13uploadFileTransferDone(); uploadFile = null; }
|
||||
break;
|
||||
case 3:
|
||||
p13targetpath = '';
|
||||
|
@ -9102,6 +9102,7 @@
|
||||
p13setActions();
|
||||
if (files != null) { files.Stop(); files = null; }
|
||||
if (xxdialogTag == 'fileMsgDialog') { setDialogMode(0); }
|
||||
if (uploadFile != null) { p13uploadFileTransferDone(); uploadFile = null; }
|
||||
break;
|
||||
case 3:
|
||||
p13targetpath = '';
|
||||
|
Loading…
Reference in New Issue
Block a user