mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 19:35:57 +02:00
FpDebug: Fix leak on Linux / Thread objects were not always released
git-svn-id: trunk@62176 -
This commit is contained in:
parent
17dda63638
commit
764dae935a
@ -522,6 +522,7 @@ begin
|
||||
else
|
||||
if wifexited(AWaitedStatus) and (ID <> Process.ProcessID) then begin
|
||||
Process.RemoveThread(ID); // Done, no postpone
|
||||
Self.Free;
|
||||
end
|
||||
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user