[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: bug in Lua 5.1.4 with GC, userdata and fenv
- From: Miles Bader <miles@...>
- Date: Wed, 04 Aug 2010 08:58:27 +0900
Francesco Abbate <francesco.bbt@gmail.com> writes:
>> I think the proper solution would be to elliminate the references from
>> plot to lines (or at least to elliminate the use of such references when
>> finalizing a plot). Surely a plot may exist without a line, because it is
>> created first (when there are no lines around).
>
> Hmmm... I will think about this possibility but it seems to be a
> workaround. May be I will switch back to the old C++ reference
> counting method, it is may be more sound.
If you have some control over the exit, can't you clear out the registry
references and then force a garbage collection before calling lua_close?
-miles
--
Run away! Run away!
- References:
- bug in Lua 5.1.4 with GC, userdata and fenv, Francesco Abbate
- RE: bug in Lua 5.1.4 with GC, userdata and fenv, Benoit Germain
- Re: bug in Lua 5.1.4 with GC, userdata and fenv, Francesco Abbate
- Re: bug in Lua 5.1.4 with GC, userdata and fenv, Francesco Abbate
- Re: bug in Lua 5.1.4 with GC, userdata and fenv, Roberto Ierusalimschy
- Re: bug in Lua 5.1.4 with GC, userdata and fenv, Francesco Abbate