DBG: slightly reduce overhead in shutdown

git-svn-id: trunk@28330 -
This commit is contained in:
martin 2010-11-18 21:20:02 +00:00
parent f670a86cec
commit c6b9d961c1

View File

@ -3786,6 +3786,13 @@ end;
procedure TGDBMIDebugger.Done;
begin
if State = dsDestroying
then begin
ClearCommandQueue;
inherited Done;
exit;
end;
LockRelease;
try
CancelAllQueued;