Qt: Ensure audio processor is paused before closing thread

This commit is contained in:
Vicki Pfau 2017-04-09 23:34:23 -07:00
parent 473ae29d82
commit 7bc6c579ce
1 changed files with 2 additions and 0 deletions

View File

@ -641,6 +641,8 @@ void GameController::cleanGame() {
if (!m_gameOpen || mCoreThreadIsActive(&m_threadContext)) {
return;
}
m_audioProcessor->pause();
mCoreThreadJoin(&m_threadContext);
if (m_tileCache) {