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

		_objectLuaInstances.clear();
	}

	closeLuaState();
}
Esempio n. 3
0
void LuaInterface::terminate()
{
    // close lua state, it will release all objects
    closeLuaState();
}