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