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

Function lua_close

third-party/lua-5.4.6/src/lstate.c:419–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417
418
419LUA_API void lua_close (lua_State *L) {
420 lua_lock(L);
421 L = G(L)->mainthread; /* only the main thread can be closed */
422 close_state(L);
423}
424
425
426void luaE_warning (lua_State *L, const char *msg, int tocont) {

Callers 3

mainFunction · 0.70
mainFunction · 0.70
os_exitFunction · 0.70

Calls 1

close_stateFunction · 0.70

Tested by

no test coverage detected