lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, Dec 4, 2021 at 9:45 PM Roberto Ierusalimschy wrote:
Maybe we should forbid any GC operation while running
a finalizer.

So, attempting to
- concatenate strings or
- create an empty table or
- add a new key to an existing table
inside a finalizer will sometimes result in raising OOM error?

A nicely hidden source of hard-to-find bugs in Lua programs.
We all love surprises in Lua :-)