[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: finalizer not called for userdata created inside finalizer
- From: liam mail <liam.list@...>
- Date: Wed, 11 Apr 2012 00:14:03 +0100
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