aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorliamwhite <[email protected]>2023-05-04 14:44:09 -0400
committerGitHub <[email protected]>2023-05-04 14:44:09 -0400
commit16939b1a6e14459f1cc8416d46715b09572b4c06 (patch)
tree4db65437f7fceeb5ab1e1854eeae3f9d1136df69
parent60d54d911efaec19745e0666c550b77ace8f82ca (diff)
parent2feb40f14dd54e819078cd8ac1df0a3f2e8b2902 (diff)
downloadyuzu-android-16939b1a6e14459f1cc8416d46715b09572b4c06.tar.gz
yuzu-android-16939b1a6e14459f1cc8416d46715b09572b4c06.zip
Merge pull request #10128 from Kelebek1/audren_terminate
Wait for the terminate event before destroying a system instance
-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();
}
}