diff options
| author | kraibse <33869366+kraibse@users.noreply.github.com> | 2026-10-30 01:15:40 +0100 |
|---|---|---|
| committer | kraibse <33869366+kraibse@users.noreply.github.com> | 2026-10-30 01:16:24 +0100 |
| commit | d56039ace99338293658f931a871e4dba203e3ab (patch) | |
| tree | 80cfe34a4bb3732f38d10cf3632148c211607241 /src/video_core/gpu_thread.cpp | |
| parent | dfa55d1679758dc8e5b80374c230bae5a733c6c8 (diff) | |
Fix hang on emulation stop when audio renderer outlives its manager
The Switch 2 aud:u client hands out an IAudioRendererManager the guest
may close right after opening a renderer. The Manager was owned by value
and renderers held a plain reference, so it was destroyed (stopping the
system manager thread) while the renderer lived on. System::Stop() then
waited forever on terminate_event, hanging shutdown.
- Share ownership of the audio Manager with each IAudioRenderer
- Bound the terminate_event wait in System::Stop()
- Bound the emu thread wait in MainWindow::OnEmulationStopped()
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
0 files changed, 0 insertions, 0 deletions
