mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-28 14:07:24 +00:00
Wait for the terminate event before destroying a system instance
This commit is contained in:
parent
fe57f39676
commit
2feb40f14d
|
@ -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…
Reference in a new issue