locking fix

o/~ i hate threads o/~
This commit is contained in:
Glenn Maynard
2004-01-15 00:45:53 +00:00
parent 5e40b0e1bd
commit c35a7d4139
+1 -2
View File
@@ -139,6 +139,7 @@ RageFileManager::~RageFileManager()
g_Mountpoints = NULL;
delete g_Mutex;
g_Mutex = NULL;
}
CString LoadedDriver::GetPath( CString path )
@@ -491,8 +492,6 @@ RageFileObj *RageFileManager::OpenForWriting( const CString &sPath, int mode, Ra
void RageFileManager::Close( RageFileObj *obj )
{
LockMut( *g_Mutex );
if( obj == NULL )
return;