lua-users home
lua-l archive

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

2010/10/17 Javier Guerra Giraldez <>:
> is that true?
> what i would expect is that "a" is unreachable, but GC considers "b"
> reachable by "a", even if "a" isn't, so "b" would only be collected
> after "a" (in a different GC cycle)

I was thinking like you before discovering that it is not actually the
case. I've actually experienced this problem and it took me some time
to find it.

See this thread
and the answer of Benoit Germain.