On 7/11/02 5:20 PM, "Will Leshner" <leshner at ljug dot com> wrote:
> Actually, that's exactly what he means. The trick he has discovered is
> that he can have an object pair with a circular reference to each other
> out in the middle of nowhere with nothing else pointing to them. The
> reason this works is that one of the two is a timer that keeps going off.
> The problem is that while one of the objects in the pair breaks the
> circular reference (on purpose) and at that point the two objects should
> vanish as nothing else points to them.
>
> On Thursday, July 11, 2002, at 02:05 PM, Joseph J. Strout wrote:
>
>> Only if you have no other references to the Tickler object, which I
>> find hard to believe.
Hrm. It COULD keep a reference to itself.... it would never die, though. But
if it's supposed to live until the app itself quits, that's not a problem,
right?
--
Kevin Ballard
kevin at sb dot org
Email from Korea or China must go to <kevin dot nb at sb dot org>
http://kevin.sb.org/
|