summaryrefslogtreecommitdiff
path: root/src/audio_core/renderer/system.cpp
diff options
context:
space:
mode:
authorGravatar Kelebek12023-05-01 00:27:12 +0100
committerGravatar Kelebek12023-05-01 00:27:12 +0100
commit2feb40f14dd54e819078cd8ac1df0a3f2e8b2902 (patch)
treefce1ca24be5692320732bece8ad909de7f7a808c /src/audio_core/renderer/system.cpp
parentMerge pull request #10082 from FernandoS27/the-testers-really-love-chocolate (diff)
downloadyuzu-2feb40f14dd54e819078cd8ac1df0a3f2e8b2902.tar.gz
yuzu-2feb40f14dd54e819078cd8ac1df0a3f2e8b2902.tar.xz
yuzu-2feb40f14dd54e819078cd8ac1df0a3f2e8b2902.zip
Wait for the terminate event before destroying a system instance
Diffstat (limited to 'src/audio_core/renderer/system.cpp')
-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() {
436 } 436 }
437 437
438 if (execution_mode == ExecutionMode::Auto) { 438 if (execution_mode == ExecutionMode::Auto) {
439 // Should wait for the system to terminate here, but core timing (should have) already 439 terminate_event.Wait();
440 // stopped, so this isn't needed. Find a way to make this definite.
441
442 // terminate_event.Wait();
443 } 440 }
444} 441}
445 442