mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 21:18:01 +02:00
CmdLine Debugger, thread/async process: Fix unqueuing events, if thread is destroyed
git-svn-id: trunk@58370 -
This commit is contained in:
parent
bee243b5a4
commit
977223c360
@ -179,6 +179,8 @@ DebugLn('TTTTT data avail continue');
|
||||
|
||||
end;
|
||||
DebugLn(['TTTTT loop end ', Terminated]);
|
||||
RemoveQueuedEvents(Self, FOnDataAvail);
|
||||
RemoveQueuedEvents(Self, FOnPipeError);
|
||||
end;
|
||||
|
||||
constructor TDebugProcessReadThread.Create(CreateSuspended: Boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user