fpdebug: fix crash on linux

git-svn-id: trunk@57784 -
This commit is contained in:
martin 2018-05-03 19:37:19 +00:00
parent ee449027d9
commit 135655e435

View File

@ -1813,6 +1813,7 @@ procedure TFpDebugDebugger.FreeBreakpoint(
const ABreakpoint: TFpInternalBreakpoint);
begin
{$ifdef linux}
if ABreakpoint = nil then exit;
FCacheBreakpoint:=ABreakpoint;
ExecuteInDebugThread(@DoFreeBreakpoint);
{$else linux}