Fix stk hanging on exit.

This commit is contained in:
hiker 2014-10-16 12:48:48 +11:00
parent 140ea5ed84
commit c61b7d632d

View File

@ -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
//----------------------------------------------------------------------------