[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Can userdate have references to lua objects?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 12 May 2003 12:48:04 -0300
> We have a memory leak, even though we're using a garbage collector and
> this was precisely the sort of problem that garbage collectors were
> intended to solve: dealing with circular references.
You may not like how Lua works in that case, but that does not make it
a memory leak. As long as both objects are reacheable from the program
(root set), "fail" to collect them cannot be a leak.
-- Roberto