Răsfoiți Sursa

Bug 1983: Moving a transfer to background just in between two individual file transfers cancels the transfer

https://winscp.net/tracker/1983
(cherry picked from commit bd19f92c7220dfd32bdf82f63b7d5937ccbe0c86)

Source commit: 0b18a78756a1229c8329bed1d65416bddbcae042
Martin Prikryl 4 ani în urmă
părinte
comite
4b0d6f3b18
1 a modificat fișierele cu 6 adăugiri și 0 ștergeri
  1. 6 0
      source/forms/CustomScpExplorer.cpp

+ 6 - 0
source/forms/CustomScpExplorer.cpp

@@ -2700,6 +2700,12 @@ bool __fastcall TCustomScpExplorerForm::ExecuteCopyMoveFileOperation(
             ReloadLocalDirectory(Param.TargetDirectory);
           }
         }
+
+        // When the transfer batch is aborted between individual file transfers, the Abort is not called.
+        if (FMoveToQueue)
+        {
+          Abort();
+        }
       }
       catch (EAbort &)
       {