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

@ -229,6 +229,7 @@ int main(int argc, char** argv) {
while (emu_window->IsOpen()) {
emu_window->WaitEvent();
}
system.DetachDebugger();
void(system.Pause());
system.Shutdown();