mirror of
https://github.com/lua/lua.git
synced 2026-06-08 08:03:49 +00:00
Before calling a finalizer, Lua not only checks stack limits, but actually ensures that a minimum number of slots are already allocated for the call. (If it cannot ensure that, it postpones the finalizer.) That avoids finalizers not running due to memory errors that the programmer cannot control.
16 KiB
16 KiB