Qt: Ensure audio processor is paused before closing thread
Vicki Pfau vi@endrift.com
Sun, 09 Apr 2017 23:34:23 -0700
1 files changed,
2 insertions(+),
0 deletions(-)
M
src/platform/qt/GameController.cpp
→
src/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) {