diff --git a/src/audio/sfx_manager.cpp b/src/audio/sfx_manager.cpp index e30178b12..13cb7c92a 100644 --- a/src/audio/sfx_manager.cpp +++ b/src/audio/sfx_manager.cpp @@ -414,6 +414,7 @@ void* SFXManager::mainLoop(void *obj) delete me->m_sfx_commands.getData().front(); me->m_sfx_commands.getData().erase(me->m_sfx_commands.getData().begin()); } + me->m_sfx_commands.unlock(); return NULL; } // mainLoop