mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-16 04:09:39 +00:00
Core: Remove GDBStub::Deinit call from EmuThread. The CpuThread function is already doing this.
This commit is contained in:
parent
c22a483431
commit
7608dbbfbd
@ -418,9 +418,10 @@ static void CpuThread(Core::System& system, const std::optional<std::string>& sa
|
|||||||
|
|
||||||
if (GDBStub::IsActive())
|
if (GDBStub::IsActive())
|
||||||
{
|
{
|
||||||
|
INFO_LOG_FMT(CONSOLE, "{}", StopMessage(true, "Stopping GDB ..."));
|
||||||
GDBStub::Deinit();
|
GDBStub::Deinit();
|
||||||
|
INFO_LOG_FMT(CONSOLE, "{}", StopMessage(true, "GDB stopped."));
|
||||||
INFO_LOG_FMT(GDB_STUB, "Killed by CPU shutdown");
|
INFO_LOG_FMT(GDB_STUB, "Killed by CPU shutdown");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -660,10 +661,6 @@ static void EmuThread(Core::System& system, std::unique_ptr<BootParameters> boot
|
|||||||
// Become the CPU thread
|
// Become the CPU thread
|
||||||
cpuThreadFunc(system, savestate_path, delete_savestate);
|
cpuThreadFunc(system, savestate_path, delete_savestate);
|
||||||
}
|
}
|
||||||
|
|
||||||
INFO_LOG_FMT(CONSOLE, "{}", StopMessage(true, "Stopping GDB ..."));
|
|
||||||
GDBStub::Deinit();
|
|
||||||
INFO_LOG_FMT(CONSOLE, "{}", StopMessage(true, "GDB stopped."));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set or get the running state
|
// Set or get the running state
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user