[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [BUG] table will be garbage collected multiple times
- From: Gregor Burghard <gburghard@...>
- Date: Sun, 18 Nov 2018 09:51:31 +0100
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