FpDebug: further fix reading pty for console window.

This commit is contained in:
Martin 2024-02-13 22:31:11 +01:00
parent e2e2f26c91
commit e9099ab0e8

View File

@ -3480,8 +3480,9 @@ begin
AThread := TFpWaitForConsoleOutputThread(FConsoleOutputThread);
FConsoleOutputThread := nil;
AThread.Terminate;
AThread.DoHasConsoleOutput(0);
AThread.WaitFor;
sleep(50);
AThread.DoHasConsoleOutput(0);
AThread.Free;
end;