mirror of
https://github.com/glest/glest-source.git
synced 2025-09-30 01:18:58 +02:00
- bugfix for mutex deadlock
This commit is contained in:
@@ -404,6 +404,7 @@ void Program::init(WindowGl *window, bool initSound, bool toggleFullScreen){
|
||||
BaseThread::shutdownAndWait(soundThreadManager);
|
||||
delete soundThreadManager;
|
||||
soundThreadManager = new SimpleTaskThread(&SoundRenderer::getInstance(),0,50);
|
||||
soundThreadManager->setUniqueID(__FILE__);
|
||||
soundThreadManager->start();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user