On Nov 1, 2011, at 12:33 PM, Vojtěch Meluzín wrote:

> Why would it? It's AFTER the runModalForWindow ends, so the window is not 
> used anymore, is it?

Even so, you agree it should retain it, no? Now, should it release it or 
autorelease it when it's done? Examining retain counts is almost always the 
wrong thing to do, because it almost always indicates a basic lack of 
understanding of Cocoa memory management.

-- 
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

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

Reply via email to