[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Question about __gc metamethod and when the actual value is removed and might it be used before removal
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 8 Jan 2015 16:08:59 -0200
> In experiments I noticed that sometimes
> the __gc call happens slightly after a weak value is removed from the table
> and in this gap a new value may be created.
I told you that [1].
[1] http://lua-users.org/lists/lua-l/2015-01/msg00172.html
-- Roberto