On Jul 21, 2011, at 10:29 AM, Ross Carter wrote: > I'm looking for ideas on what might cause this behavior: an existing app that > was compiled with 10.6 SDK runs fine on 10.6 and 10.5. When run on 10.7, > document windows (and their window controllers and NSDocuments) do not get > released when the window is closed. > > All thoughts appreciated.
Have you used Instruments to find out why? If not, then use the object alloc instrument with reference counting turned on. Then look at your window objects and try and figure out where the extra retain is happening. Nick Zitzmann <http://www.chronosnet.com/> _______________________________________________ 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