lua-users home
lua-l archive

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


On Fri 31/Dec/2010, Roberto Ierusalimschy wrote:
> > [...]
> 
> If I understood correctly, this behaviour is not expected. The GC really
> decides at some point that the proxy is no longer reachable and delays
> the call to the finalizer until later. But it clears the weak tables
> atomically with the decision, so the userdata should be removed as soon
> as the GC decides to finalize it, before the finalization. What are
> the keys in that weak table?
> 
> -- Roberto
> 

The keys are just strings.