From c35a7d41395ceeea2c9db5c5004b67015e910389 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 15 Jan 2004 00:45:53 +0000 Subject: [PATCH] locking fix o/~ i hate threads o/~ --- stepmania/src/RageFileManager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stepmania/src/RageFileManager.cpp b/stepmania/src/RageFileManager.cpp index 55c48dce12..ddb5f27e70 100644 --- a/stepmania/src/RageFileManager.cpp +++ b/stepmania/src/RageFileManager.cpp @@ -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;