MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / lua_close

Function lua_close

3rd/lua-5.4.3/src/lstate.c:410–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408
409
410LUA_API void lua_close (lua_State *L) {
411 lua_lock(L);
412 L = G(L)->mainthread; /* only the main thread can be closed */
413 close_state(L);
414}
415
416
417void luaE_warning (lua_State *L, const char *msg, int tocont) {

Callers 3

mainFunction · 0.85
mainFunction · 0.85
os_exitFunction · 0.85

Calls 1

close_stateFunction · 0.85

Tested by

no test coverage detected