File upload clean up when device disconnects in the middle of a upload.

This commit is contained in:
Ylian Saint-Hilaire 2021-07-14 08:47:43 -07:00
parent 3b1ec36742
commit 9af56c43fa
2 changed files with 2 additions and 0 deletions

View File

@ -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 = '';

View File

@ -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 = '';