Qt: Fix threading issues shutting down game audio
Vicki Pfau vi@endrift.com
Fri, 07 Apr 2017 22:21:41 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
M
src/platform/qt/GameController.cpp
→
src/platform/qt/GameController.cpp
@@ -174,7 +174,7 @@ }
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");