$ luarocks install close-stack A Lua stack-based closer and callback caller, equivalent to Python's
ExitStack, but for Lua to-be-closed values. Manages a dynamic list of
closeable resources and closes them in reverse order on scope exit,
manual close, or error unwinding.
Versions
Dependencies
lua >= 5.4