some memory leak cleanup

This commit is contained in:
Mark Vejvoda
2013-11-13 21:22:56 +00:00
parent 2d8f0f7430
commit 4e1c9be664
6 changed files with 32 additions and 62 deletions

View File

@@ -34,6 +34,7 @@ FileCRCPreCacheThread::FileCRCPreCacheThread() : BaseThread() {
workerThreadTechPaths.clear();
preCacheWorkerThreadList.clear();
processTechCB = NULL;
pauseForGame = false;
uniqueID = "FileCRCPreCacheThread";
}
@@ -44,6 +45,7 @@ FileCRCPreCacheThread::FileCRCPreCacheThread(vector<string> techDataPaths,
this->workerThreadTechPaths = workerThreadTechPaths;
preCacheWorkerThreadList.clear();
this->processTechCB = processTechCB;
pauseForGame = false;
uniqueID = "FileCRCPreCacheThread";
}