Fix a crash, when a breakpoint can not be set, because no debugger is configured

git-svn-id: trunk@63043 -
This commit is contained in:
martin 2020-04-21 12:24:46 +00:00
parent ff27397e4a
commit 7be629b269

View File

@ -4733,7 +4733,8 @@ begin
if Ctrl and (ABrkPoint <> nil)
then ABrkPoint.Enabled := False;
finally
ABrkPoint.EndUpdate;
if ABrkPoint <> nil then
ABrkPoint.EndUpdate;
DebugBoss.UnLockCommandProcessing;
end;
end;