core/debugger: fix a number of shutdown deadlocks

This commit is contained in:
Liam 2022-06-10 09:17:12 -04:00
parent b09ff19f31
commit c14f683322
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();