lua_close
lua_close
lua_close(lua_State *L: funzione | tabella)
Destroys all objects in the given Lua environment (calls garbage-collection tag methods, if any) and frees all dynamic memory used by that state.Usage is not compulsory, because all resources are released when your program ends.Useful for long-running applications such as daemons or servers.