lua-users home
lua-l archive

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


Hello everyone,

here is a bug for Lua >= 5.3.0:

When the finalizer method of a table resets the metatable of the same
table, it will not be deleted after finalization. That means the table
still exists and will be garbage collected again.

The following code demonstrates the bug.

https://pastebin.com/LUbnueut

Attachment: pEpkey.asc
Description: application/pgp-keys