On Jun 30, 2011, at 12:04 PM, Kyle Sluder wrote:
On Thu, Jun 30, 2011 at 9:20 AM, James Merkel <jmerk...@mac.com>
wrote:
After a fair amount of application warm-up the FD
shows 25 to 26. So, I assume I'm ok.
And what happens when (not if) you introduce a leak, and these objects
live longer than you expect them to? Or worse, someone else starts
holding on to these objects?
You're already using an -invalidate method. You just happened to call
it -dealloc. Why not follow good defensive programming practice and
make it explicit to save yourself future headaches?
--Kyle Sluder
Ok, I don't know what an -invalidate method is, but I'll look it up.
Jim Merkel
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com