mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 07:41:12 +02:00
FpDebug: Linux, prevent crash on nil deref
git-svn-id: trunk@61819 -
This commit is contained in:
parent
addf952338
commit
9defda8b5c
@ -1275,7 +1275,7 @@ begin
|
||||
break;
|
||||
|
||||
ThreadSignaled := WaitForThread(WaitStatus, False);
|
||||
if not ThreadSignaled.FIsPaused then
|
||||
if (ThreadSignaled <> nil) and (not ThreadSignaled.FIsPaused) then
|
||||
ThreadSignaled.CheckStatusReceived(WaitStatus);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user