Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ lua_close
Function
lua_close
depends/lua/src/lstate.c:341–345 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
339
340
341
LUA_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
4
main
Function · 0.85
main
Function · 0.85
os_exit
Function · 0.85
~cleaner
Method · 0.85
Calls
1
close_state
Function · 0.85
Tested by
no test coverage detected