mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 16:29:38 +02:00
fpdebug: fix crash on linux
git-svn-id: trunk@57784 -
This commit is contained in:
parent
ee449027d9
commit
135655e435
@ -1813,6 +1813,7 @@ procedure TFpDebugDebugger.FreeBreakpoint(
|
|||||||
const ABreakpoint: TFpInternalBreakpoint);
|
const ABreakpoint: TFpInternalBreakpoint);
|
||||||
begin
|
begin
|
||||||
{$ifdef linux}
|
{$ifdef linux}
|
||||||
|
if ABreakpoint = nil then exit;
|
||||||
FCacheBreakpoint:=ABreakpoint;
|
FCacheBreakpoint:=ABreakpoint;
|
||||||
ExecuteInDebugThread(@DoFreeBreakpoint);
|
ExecuteInDebugThread(@DoFreeBreakpoint);
|
||||||
{$else linux}
|
{$else linux}
|
||||||
|
Loading…
Reference in New Issue
Block a user