mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 14:35:46 +00:00
Wait for the terminate event before destroying a system instance
This commit is contained in:
parent
873aa03f51
commit
967e5b2873
1 changed files with 1 additions and 4 deletions
|
@ -436,10 +436,7 @@ void System::Stop() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (execution_mode == ExecutionMode::Auto) {
|
if (execution_mode == ExecutionMode::Auto) {
|
||||||
// Should wait for the system to terminate here, but core timing (should have) already
|
terminate_event.Wait();
|
||||||
// stopped, so this isn't needed. Find a way to make this definite.
|
|
||||||
|
|
||||||
// terminate_event.Wait();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue