[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua_replace bug?
- From: Daniel Silverstone <dsilvers@...>
- Date: Fri, 23 Sep 2011 10:31:28 +0100
On Fri, Sep 23, 2011 at 05:14:45PM +0800, 雨雨 wrote:
> this is a bug?
> like this:
> the val03 is not exec __gc.
> a bug?
Garbage collection is not guaranteed to be immediate.
Does the __gc metamethod run if you subsequently force the garbage collector to
run to completion (and/or close the lua state)?
Daniel Silverstone http://www.digital-scurf.org/
PGP mail accepted and encouraged. Key Id: 3CCE BABE 206C 3B69