summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-05-04 20:44:09 +0200
committerGitHub <noreply@github.com>2023-05-04 20:44:09 +0200
commit16939b1a6e14459f1cc8416d46715b09572b4c06 (patch)
tree4db65437f7fceeb5ab1e1854eeae3f9d1136df69
parentMerge pull request #10145 from Kelebek1/code_size (diff)
parentWait for the terminate event before destroying a system instance (diff)
downloadyuzu-16939b1a6e14459f1cc8416d46715b09572b4c06.tar
yuzu-16939b1a6e14459f1cc8416d46715b09572b4c06.tar.gz
yuzu-16939b1a6e14459f1cc8416d46715b09572b4c06.tar.bz2
yuzu-16939b1a6e14459f1cc8416d46715b09572b4c06.tar.lz
yuzu-16939b1a6e14459f1cc8416d46715b09572b4c06.tar.xz
yuzu-16939b1a6e14459f1cc8416d46715b09572b4c06.tar.zst
yuzu-16939b1a6e14459f1cc8416d46715b09572b4c06.zip
-rw-r--r--src/audio_core/renderer/system.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/audio_core/renderer/system.cpp b/src/audio_core/renderer/system.cpp
index ad869facb..53b258c4f 100644
--- a/src/audio_core/renderer/system.cpp
+++ b/src/audio_core/renderer/system.cpp
@@ -436,10 +436,7 @@ void System::Stop() {
}
if (execution_mode == ExecutionMode::Auto) {
- // Should wait for the system to terminate here, but core timing (should have) already
- // stopped, so this isn't needed. Find a way to make this definite.
-
- // terminate_event.Wait();
+ terminate_event.Wait();
}
}