Fixed problems with various utilities.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@547 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-06-12 20:10:52 +00:00
parent 1a77c362ff
commit 0f853ff59e
8 changed files with 33 additions and 27 deletions

View File

@@ -2062,14 +2062,6 @@ void F_DbSystem::cleanup( void)
gv_XFlmSysData.pCacheCleanupThrd = NULL;
}
// Release the thread manager
if( gv_XFlmSysData.pThreadMgr)
{
gv_XFlmSysData.pThreadMgr->Release();
gv_XFlmSysData.pThreadMgr = NULL;
}
// Free all of the files and associated structures
if (gv_XFlmSysData.pDatabaseHashTbl)
@@ -2165,6 +2157,14 @@ void F_DbSystem::cleanup( void)
}
}
// Release the thread manager
if( gv_XFlmSysData.pThreadMgr)
{
gv_XFlmSysData.pThreadMgr->Release();
gv_XFlmSysData.pThreadMgr = NULL;
}
// Release the file system object
if (gv_XFlmSysData.pFileSystem)