core/debugger: fix a number of shutdown deadlocks
This commit is contained in:
parent
de6c0defb3
commit
1f0fee33ed
9 changed files with 73 additions and 8 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue