Debugger: Stopping the debugger now kills the debugged process in external debugging mode without crashing if the debugged process does not exist anymore.

[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Stopping the debugger now kills the debugged process in external debugging mode without crashing if the debugged process does not exist anymore.
This commit is contained in:
Benoît Minisini 2023-03-17 01:56:54 +01:00
parent fe618d41a8
commit a4920f1181

View file

@ -693,7 +693,7 @@ Public Sub Stop()
Try $hProcess.Kill
$hProcess.Wait(1)
Else If $bExtern Then
If ProcessId > 0 Then Signal.Send(ProcessId, Signal.SIGKILL)
If ProcessId > 0 Then Try Signal.Send(ProcessId, Signal.SIGKILL)
Endif
AfterStop