mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 14:35:58 +02:00
Debugger: force exit, on destroy.
git-svn-id: trunk@42435 -
This commit is contained in:
parent
299e040458
commit
a7975265e6
@ -7054,7 +7054,9 @@ begin
|
||||
if FCurrentCommand <> Nil then
|
||||
FCurrentCommand.KillNow;
|
||||
if (State = dsRun) then GDBPause(True);
|
||||
ExecuteCommand('-gdb-exit', [], []);
|
||||
// fire and forget. Donst wait on the queue.
|
||||
SendCmdLn('kill');
|
||||
SendCmdLn('-gdb-exit');
|
||||
end;
|
||||
inherited Done;
|
||||
finally
|
||||
|
Loading…
Reference in New Issue
Block a user