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

		_objectLuaInstances.clear();
	}

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