public void Close() { if (L != IntPtr.Zero) { LuaDLL.lua_close(L); } }
public void Close() { if (L != IntPtr.Zero) { translator.Destroy(); LuaDLL.lua_close(L); } }
public void Dispose() { if (IntPtr.Zero != _L) { LuaDLL.lua_close(_L); } _L = IntPtr.Zero; }
public void Close() { if (_StatePassed) { return; } if (luaState != IntPtr.Zero) { LuaDLL.lua_close(luaState); } }
public void Close() { if (_StatePassed) { return; } if (luaState != IntPtr.Zero) { LuaDLL.lua_close(luaState); } //luaState = IntPtr.Zero; <- suggested by Christopher Cebulski http://luaforge.net/forum/forum.php?thread_id=44593&forum_id=146 }
public void LuaClose() { LuaDLL.lua_close(L); L = IntPtr.Zero; }
public void LuaClose() { LuaDLL.lua_close(this.L); this.L = IntPtr.Zero; }