mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 16:22:47 +01:00
Merge pull request #10128 from Kelebek1/audren_terminate
Wait for the terminate event before destroying a system instance
This commit is contained in:
commit
16939b1a6e
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…
Reference in a new issue