mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
GDBStub: Cleanly shut down on stop
This commit is contained in:
@ -393,6 +393,15 @@ static void CpuThread(const std::optional<std::string>& savestate_path, bool del
|
||||
|
||||
if (_CoreParameter.bFastmem)
|
||||
EMM::UninstallExceptionHandler();
|
||||
|
||||
#ifdef USE_GDBSTUB
|
||||
if (gdb_active())
|
||||
{
|
||||
gdb_deinit();
|
||||
INFO_LOG_FMT(GDB_STUB, "Killed by CPU shutdown");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static void FifoPlayerThread(const std::optional<std::string>& savestate_path,
|
||||
|
Reference in New Issue
Block a user