mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 21:01:14 +02:00
FpDebug: further fix reading pty for console window.
(cherry picked from commit e9099ab0e8
)
This commit is contained in:
parent
e44532f395
commit
972e988e00
@ -3424,8 +3424,9 @@ begin
|
||||
AThread := TFpWaitForConsoleOutputThread(FConsoleOutputThread);
|
||||
FConsoleOutputThread := nil;
|
||||
AThread.Terminate;
|
||||
AThread.DoHasConsoleOutput(0);
|
||||
AThread.WaitFor;
|
||||
sleep(50);
|
||||
AThread.DoHasConsoleOutput(0);
|
||||
AThread.Free;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user