|
|
@@ -10945,7 +10945,6 @@ void __fastcall TCustomScpExplorerForm::ClipboardStop()
|
|
|
RemoveDir(ApiPath(FClipboardFakeDirectory));
|
|
|
FClipboardFakeDirectory = UnicodeString();
|
|
|
FClipboardTerminal = NULL;
|
|
|
- // Also called in Idle()
|
|
|
FClipboardFakeMonitors.reset(NULL);
|
|
|
}
|
|
|
//---------------------------------------------------------------------------
|
|
|
@@ -10970,7 +10969,7 @@ void __fastcall TCustomScpExplorerForm::ClipboardDownload(const UnicodeString &
|
|
|
//---------------------------------------------------------------------------
|
|
|
void __fastcall TCustomScpExplorerForm::ClipboardFakeCreated(TObject * /*Sender*/, const UnicodeString FileName)
|
|
|
{
|
|
|
- // It can actually rarelly happen that some random file is created, while we are shuttting down the monitor
|
|
|
+ // It can actually rarelly happen that some random file is created, while we are shutting down the monitor
|
|
|
// (as it pumps a Windows message queue while being shutted down)
|
|
|
if (DebugAlwaysTrue(!FClipboardFakeDirectory.IsEmpty()) &&
|
|
|
SameText(ExtractFileName(FileName), ExtractFileName(FClipboardFakeDirectory)))
|