mirror of
https://github.com/glest/glest-source.git
synced 2025-10-03 10:51:55 +02:00
- bugfix for mutex deadlock
This commit is contained in:
@@ -411,6 +411,7 @@ int glestMain(int argc, char** argv){
|
||||
if(config.getBool("AllowGameDataSynchCheck","false") == true) {
|
||||
vector<string> techDataPaths = config.getPathListForType(ptTechs);
|
||||
preCacheThread.reset(new FileCRCPreCacheThread());
|
||||
preCacheThread->setUniqueID(__FILE__);
|
||||
preCacheThread->setTechDataPaths(techDataPaths);
|
||||
preCacheThread->start();
|
||||
}
|
||||
|
Reference in New Issue
Block a user