all repos — mgba @ 7bc6c579ce332efe0097c14ba4e40ccb26872f86

mGBA Game Boy Advance Emulator

Qt: Ensure audio processor is paused before closing thread
Vicki Pfau vi@endrift.com
Sun, 09 Apr 2017 23:34:23 -0700
commit

7bc6c579ce332efe0097c14ba4e40ccb26872f86

parent

473ae29d821bd7b24c78d08e74ea4673eeb64a1b

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/GameController.cppsrc/platform/qt/GameController.cpp

@@ -641,6 +641,8 @@ void GameController::cleanGame() {

if (!m_gameOpen || mCoreThreadIsActive(&m_threadContext)) { return; } + + m_audioProcessor->pause(); mCoreThreadJoin(&m_threadContext); if (m_tileCache) {