Debugger: fix crash from rev 28163 #aac97933fc

git-svn-id: trunk@28166 -
This commit is contained in:
martin 2010-11-09 16:50:23 +00:00
parent 045fa68803
commit 3f0760fa6b

View File

@ -1971,6 +1971,8 @@ var
Cmd: TGDBMIDebuggerCommand;
SavedInExecuteCount: LongInt;
begin
if FCommandQueue.Count = 0
then exit;
SavedInExecuteCount := FInExecuteCount;
LockRelease;
try