Fix stk hanging on exit.
This commit is contained in:
parent
140ea5ed84
commit
c61b7d632d
@ -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
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user