core/debugger: fix a number of shutdown deadlocks

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

No files matched your search

+6
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();
}