debugger: add safety check

git-svn-id: trunk@42420 -
This commit is contained in:
martin 2013-08-18 09:53:29 +00:00
parent 03f50d973c
commit 35ec9d7384

View File

@ -7809,7 +7809,7 @@ begin
Exit;
end;
if FCurrentCommand.KillNow then begin
if (FCurrentCommand <> nil) and FCurrentCommand.KillNow then begin
debugln(DBG_VERBOSE, ['KillNow did stop']);
Result := True;
exit;