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

Function lua_close

third-party/lua-5.2.4/src/lstate.c:317–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315
316
317LUA_API void lua_close (lua_State *L) {
318 L = G(L)->mainthread; /* only the main thread can be closed */
319 lua_lock(L);
320 close_state(L);
321}
322
323

Callers 3

mainFunction · 0.70
mainFunction · 0.70
os_exitFunction · 0.70

Calls 1

close_stateFunction · 0.70

Tested by

no test coverage detected