revert. Unregister() is "atomic" (useful to call without locking around it).

This commit is contained in:
Glenn Maynard
2005-06-21 02:41:35 +00:00
parent acbe82d877
commit fee9e51b2c
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -204,7 +204,7 @@ void LuaManager::ResetState()
if( L != NULL )
{
LuaReference::BeforeResetAll( L );
LuaReference::BeforeResetAll();
lua_close( L );
}
@@ -222,7 +222,7 @@ void LuaManager::ResetState()
RegisterTypes();
LuaReference::AfterResetAll( L );
LuaReference::AfterResetAll();
m_pLock->Unlock();
}