Re: Leopard and Tiger Notification Differences?
Re: Leopard and Tiger Notification Differences?
- Subject: Re: Leopard and Tiger Notification Differences?
- From: Mark Piccirelli <email@hidden>
- Date: Fri, 8 Feb 2008 14:47:47 -0800
On Feb 8, 2008, at 1:58 PM, John Nairn wrote:
I have run into several crashes in Leopard that never happened in
Tiger. In all cases, the problem has been a notification sent to a
deallocated object. I have been able to fix them, but why do these
bugs keep happening in Leopard. Either Tiger was smarter (i.e., not
sending messages to deallocated objects) or Leopard is handling
notifications differently. I can document a difference now and
wonder how is one supposed to know what to expect?
There were some changes in NSWindowController between Tiger and
Leopard. See the "New Behavior in NSWindowController at Window Closing
Time" and "Bug Fixes in -[NSWindowController dealloc]" sections in the
Leopard AppKit release notes at http://developer.apple.com/releasenotes/Cocoa/AppKit.html
. In a couple of places it's not releasing instead of autoreleasing.
Hopefully that explains what you're seeing.
-- Mark
_______________________________________________
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