diff --git a/src/audio/sfx_manager.cpp b/src/audio/sfx_manager.cpp index 6374c401d..40eadb184 100644 --- a/src/audio/sfx_manager.cpp +++ b/src/audio/sfx_manager.cpp @@ -234,6 +234,8 @@ void SFXManager::update(float dt) void SFXManager::stopThread() { queue(SFX_EXIT, NULL); + // Make sure the thread wakes up. + pthread_cond_signal(&m_cond_request); } // stopThread //----------------------------------------------------------------------------