core/debugger: fix a number of shutdown deadlocks

This commit is contained in:
Liam 2022-06-10 09:17:12 -04:00
parent de6c0defb3
commit 1f0fee33ed
9 changed files with 73 additions and 8 deletions

View file

@ -493,6 +493,12 @@ void System::Shutdown() {
impl->Shutdown();
}
void System::DetachDebugger() {
if (impl->debugger) {
impl->debugger->NotifyShutdown();
}
}
std::unique_lock<std::mutex> System::StallCPU() {
return impl->StallCPU();
}