aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/renderer/system.cpp
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2023-05-01 00:27:12 +0100
committerKelebek1 <eeeedddccc@hotmail.co.uk>2023-05-01 00:27:12 +0100
commit967e5b2873b7dd3e0a610252848ed2a3f6ad3d99 (patch)
treefce1ca24be5692320732bece8ad909de7f7a808c /src/audio_core/renderer/system.cpp
parent873aa03f51e82a2ab52d2e582332f9667836f23d (diff)
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 ad869facb7..53b258c4f4 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();
}
}