mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 23:25:53 -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);
|
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…
Reference in New Issue
Block a user