• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Leopard and Tiger Notification Differences?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Leopard and Tiger Notification Differences?
      • From: John Nairn <email@hidden>
    • Re: Leopard and Tiger Notification Differences?
      • From: Mark Piccirelli <email@hidden>
References: 
 >Leopard and Tiger Notification Differences? (From: John Nairn <email@hidden>)

  • Prev by Date: Re: What's the story with OSAScriptController and OSAScriptView.
  • Next by Date: Re: Leopard and Tiger Notification Differences?
  • Previous by thread: Re: Core Data: consequences of disabling the undoManager
  • Next by thread: Re: Leopard and Tiger Notification Differences?
  • Index(es):
    • Date
    • Thread