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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user