MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_close

Function lua_close

third-party/lua-5.3.5/src/lstate.c:341–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339
340
341LUA_API void lua_close (lua_State *L) {
342 L = G(L)->mainthread; /* only the main thread can be closed */
343 lua_lock(L);
344 close_state(L);
345}
346
347

Callers 3

mainFunction · 0.70
mainFunction · 0.70
os_exitFunction · 0.70

Calls 1

close_stateFunction · 0.70

Tested by

no test coverage detected