mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 13:20:21 +02:00
DBG: slightly reduce overhead in shutdown
git-svn-id: trunk@28330 -
This commit is contained in:
parent
f670a86cec
commit
c6b9d961c1
@ -3786,6 +3786,13 @@ end;
|
||||
|
||||
procedure TGDBMIDebugger.Done;
|
||||
begin
|
||||
if State = dsDestroying
|
||||
then begin
|
||||
ClearCommandQueue;
|
||||
inherited Done;
|
||||
exit;
|
||||
end;
|
||||
|
||||
LockRelease;
|
||||
try
|
||||
CancelAllQueued;
|
||||
|
Loading…
Reference in New Issue
Block a user