Re: NSTimer never being deallocated
Re: NSTimer never being deallocated
- Subject: Re: NSTimer never being deallocated
- From: "Paul Sanders" <email@hidden>
- Date: Sat, 13 Mar 2010 20:53:20 -0000
I don't understand all the confusion on this issue. The NSTimer
documentation makes the life-cycle of this object very clear.
Until it goes away, it is probably retained by the runloop.
As Joar says, you often can't make any concrete predictions
about when an object you don't manage yourself might be released
for the last time, but if you put a breakpoint on [NSTimer
dealloc] you will be able to see it when it happens.
Paul Sanders.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden