- bugfix for mutex deadlock

This commit is contained in:
Mark Vejvoda
2010-06-18 20:04:05 +00:00
parent ebe75de00d
commit 2d50beecfa
6 changed files with 13 additions and 9 deletions

View File

@@ -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();
}
}