lua-users home
lua-l archive

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


On 10 April 2012 22:50, Josh Haberman <jhaberman@gmail.com> wrote:
> Here's another issue I encountered with __gc: it appears that userdata
> created inside a finalizer does not have its finalizer called.  This
> leaks any resources associated with the userdata.  This test prints
> "Created" but not "GC'd" in both 5.1 and 5.2.

I do not see this behaviour on OSX 10.6 for 5.1.4 and 5.2.0, instead I
see 'Created' and 'GC'd'.

Liam