Browse Source

Optimizing parallel operation abort

Source commit: 51aaff8c3863b81156a8c77b02c4dd6e6501b1a6
Martin Prikryl 9 years ago
parent
commit
0cb25af3b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/core/Terminal.cpp

+ 1 - 1
source/core/Terminal.cpp

@@ -6116,7 +6116,7 @@ bool __fastcall TTerminal::CopyToRemote(TStrings * FilesToCopy,
                 Sleep(100);
               }
             }
-            while (Continue);
+            while (Continue && !OperationProgress.Cancel);
 
             Result = true;
           }