On Dec 31, 2007, at 5:03 PM, Guyren Howe wrote:
>> Can I set up the timer with a property "myself as Timer" to make sure
>> it doesn't go out of scope? Then, in the Timer's Action event, I can
>> set the myself property to nil and it should just evaporate after the
>> event ends (because no other object will hold a reference to it).
>>
>> Does anybody see any problem with this approach? Incidentally, I'm
>> considering the circular reference setup to avoid a potential stack
>> overflow. :)
>
I take back what I said about it being fishy ;) I also agree with
those that said it would work. I would think it would be easy to test
to be sure.
Thanks,
James
James Sentman http://sentman.com
http://MacHomeAutomation.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|