Re: -[NSTimer invalidate] does not guarantee that the timer won't fire?
Re: -[NSTimer invalidate] does not guarantee that the timer won't fire?
- Subject: Re: -[NSTimer invalidate] does not guarantee that the timer won't fire?
- From: Jim Correia <email@hidden>
- Date: Tue, 17 Jan 2006 18:06:49 -0500
On Jan 17, 2006, at 5:46 PM, Jim Correia wrote:
Does this mean that there is no guaranteed way to ensure that a
timer will never fire again when its target is going away? (Or is
this simply a bug that I should write up.)
Nevermind. I should have done more debugging first. I created a
retain cycle between my target and my timer, invalidated the timer
(which was holding the last reference to self) at the beginning of a
method, then used the object aftewards. My fault...
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden