| commit | 2a7cf4f319fc276f4554a8f6364e6b1ba4eb2ded | [log] [tgz] |
|---|---|---|
| author | Roberto I <roberto@inf.puc-rio.br> | Sun Jan 11 15:36:03 2026 -0300 |
| committer | Roberto I <roberto@inf.puc-rio.br> | Sun Jan 11 15:36:03 2026 -0300 |
| tree | a99a8361664b0adda83186f04e2e9c98afd86b44 | |
| parent | 5cfc725a8b61a6f96c7324f60ac26739315095ba [diff] |
More effort in avoiding errors in finalizers 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.
This is the repository of Lua development code, as seen by the Lua team. It contains the full history of all commits but is mirrored irregularly. For complete information about Lua, visit Lua.org.
Please do not send pull requests. To report issues, post a message to the Lua mailing list.
Download official Lua releases from Lua.org.