This commit is contained in:
Glenn Maynard
2006-10-15 05:31:44 +00:00
parent 5a3a5a926f
commit 8e34463f78
+1
View File
@@ -224,6 +224,7 @@ void LuaManager::Release( Lua *&p )
g_FreeStateList.push_back( p );
ASSERT( lua_gettop(p) == 0 );
ASSERT( g_ActiveStates.find(p) != g_ActiveStates.end() );
bool bDoUnlock = g_ActiveStates[p];
g_ActiveStates.erase( p );