lua-users home
lua-l archive

Re: Question about __gc metamethod and when the actual value is removed and might it be used before removal

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


> 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

AltStyle によって変換されたページ (->オリジナル) /