void LuaInterface::terminate() { // close lua state, it will release all objects closeLuaState(); assert(m_totalFuncRefs == 0); assert(m_totalObjRefs == 0); }
void ScriptManager::deinit() { if (!_objectLuaInstances.empty()) { warning("Lua instances were not freed properly"); _objectLuaInstances.clear(); } closeLuaState(); }
void LuaInterface::terminate() { // close lua state, it will release all objects closeLuaState(); }