lua-users home
lua-l archive

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


(In 5.1.4)

If I have a weak ref to a user data (as a value) in a table, is it
possible for the weak ref to be removed long before the userdata's
__gc metamethod is called? Does this happen in multiple passes of the
collector?

Thanks in advance,
Pablo Pissanetzky