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

Function lua_close

third-party/lua-5.5.0/src/lstate.c:391–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389
390
391LUA_API void lua_close (lua_State *L) {
392 lua_lock(L);
393 L = mainthread(G(L)); /* only the main thread can be closed */
394 close_state(L);
395}
396
397
398void 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