lua locking fix

This commit is contained in:
Glenn Maynard
2005-06-16 22:05:25 +00:00
parent f91cbdb746
commit ed440fa648
+2 -2
View File
@@ -297,9 +297,9 @@ public:
// call function with 0 arguments and 1 result // call function with 0 arguments and 1 result
lua_call(L, 0, 1); lua_call(L, 0, 1);
LUA->Release(L); LuaHelpers::PopStack( m_currentValue, L );
LuaHelpers::PopStack( m_currentValue, LUA->L ); LUA->Release(L);
return m_currentValue; return m_currentValue;
} }