diff options
| author | Djihads <76681596+Djihads80@users.noreply.github.com> | 2026-10-30 09:02:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-30 09:02:43 +0100 |
| commit | c4b0289c33db9049ddd9a8b43e0089ea70e851c1 (patch) | |
| tree | a1770524ff7c5177a5664989d173acbb3d2d1297 /src/audio_core/renderer/system.cpp | |
| parent | 467ec722581e7ad573491c5662bcd9544eadd2ed (diff) | |
| parent | f4b0c80401605ad66b255f91d8fb9cdcd31932d8 (diff) | |
Merge branch 'nx2' into fix/vfs-open-file-limit
Diffstat (limited to 'src/audio_core/renderer/system.cpp')
| -rw-r--r-- | src/audio_core/renderer/system.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/audio_core/renderer/system.cpp b/src/audio_core/renderer/system.cpp index b7675ff5de..2e3e741d3e 100644 --- a/src/audio_core/renderer/system.cpp +++ b/src/audio_core/renderer/system.cpp @@ -444,7 +444,10 @@ void System::Stop() { } if (execution_mode == ExecutionMode::Auto) { - terminate_event.Wait(); + // The system manager thread signals this; it may already be gone during shutdown. + if (!terminate_event.WaitFor(std::chrono::seconds(1))) { + LOG_WARNING(Service_Audio, "Timed out waiting for the renderer to terminate"); + } } } |
