diff options
| author | 2023-05-04 14:44:09 -0400 | |
|---|---|---|
| committer | 2023-05-04 14:44:09 -0400 | |
| commit | 16939b1a6e14459f1cc8416d46715b09572b4c06 (patch) | |
| tree | 4db65437f7fceeb5ab1e1854eeae3f9d1136df69 /src/audio_core/renderer/system.cpp | |
| parent | Merge pull request #10145 from Kelebek1/code_size (diff) | |
| parent | Wait for the terminate event before destroying a system instance (diff) | |
| download | yuzu-16939b1a6e14459f1cc8416d46715b09572b4c06.tar.gz yuzu-16939b1a6e14459f1cc8416d46715b09572b4c06.tar.xz yuzu-16939b1a6e14459f1cc8416d46715b09572b4c06.zip | |
Merge pull request #10128 from Kelebek1/audren_terminate
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.cpp | 5 |
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 | ||