Qt: Fix audio context holding onto closed game controller
Vicki Pfau vi@endrift.com
Sat, 16 Feb 2019 16:54:41 -0800
2 files changed,
6 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -11,6 +11,7 @@ - Qt: Fix tile and sprite views not always displaying at first
- GBA Memory: Fix a few AGBPrint crashes - GBA Memory: Fix OOB ROM reads showing up as AGBPrint memory - GB Serialize: Fix loading states with negative pixel x (fixes mgba.io/i/1293) + - Qt: Fix audio context holding onto closed game controller Misc: - GBA Savedata: EEPROM performance fixes - GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -797,6 +797,11 @@
m_fpsTimer.stop(); m_focusCheck.stop(); + if (m_audioProcessor) { + m_audioProcessor->stop(); + m_audioProcessor.reset(); + } + emit paused(false); }