浏览代码

Optimizing parallel operation abort

Source commit: 51aaff8c3863b81156a8c77b02c4dd6e6501b1a6
Martin Prikryl 9 年之前
父节点
当前提交
0cb25af3b9
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
           }