Qt: Fix threading issues shutting down game audio

This commit is contained in:
Vicki Pfau 2017-04-07 22:21:41 -07:00
parent 19d0ca3b8b
commit 7784ecb2c5
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ GameController::GameController(QObject* parent)
controller->m_patch = QString();
controller->clearOverride();
controller->m_audioProcessor->pause();
QMetaObject::invokeMethod(controller->m_audioProcessor, "pause");
QMetaObject::invokeMethod(controller, "gameStopped", Q_ARG(mCoreThread*, context));
QMetaObject::invokeMethod(controller, "cleanGame");