Fix crash after sending a kill command

This commit is contained in:
svc64 2023-12-12 20:30:52 +02:00
parent 0396997c17
commit e401097e1e

View file

@ -225,9 +225,9 @@ namespace Ryujinx.HLE.Debugger
} }
case 'k': case 'k':
Logger.Notice.Print(LogClass.GdbStub, "Kill request received"); Logger.Notice.Print(LogClass.GdbStub, "Kill request received");
Reply("");
Device.IsActive = false; Device.IsActive = false;
Device.ExitStatus.WaitOne(); Device.ExitStatus.WaitOne();
Reply("");
break; break;
case 'm': case 'm':
{ {