• 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: Crash when closing window from the menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash when closing window from the menu


  • Subject: Re: Crash when closing window from the menu
  • From: Andre Masse <email@hidden>
  • Date: Mon, 01 Dec 2008 18:47:25 -0500

Many thanks for the links! Very valuable reads!

So far so good, no more crashes :-)

Thanks again,

Andre Masse


On Dec 1, 2008, at 14:54, Jerry Krinock wrote:

According to [1], you need one more line of code here: [tableView reloadData];

// other dealloc stuff [super dealloc]; }


Also, note that the behavior causing the crash was changed in Leopard and is explained some in the Leopard AppKit Release Notes [2].

Let us know if you learn anything interesting, because by following these recommendations I've got my app to not crash 99% of the time.

Jerry

1. http://developer.apple.com/documentation/Cocoa/Conceptual/OutlineView/Articles/UsingOutlineDataSource.html#/ /apple_ref/doc/uid/20000725. See section "The Data Source and Memory Management".

2. http://developer.apple.com/releasenotes/Cocoa/AppKit.html#NSTableView . See section "New Behavior in NSWindowController at Window Closing Time"
_______________________________________________

_______________________________________________

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


References: 
 >Crash when closing window from the menu (From: Andre Masse <email@hidden>)
 >Re: Crash when closing window from the menu (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Crash when closing window from the menu (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.
  • Next by Date: Custom NSSlider?
  • Previous by thread: Re: Crash when closing window from the menu
  • Next by thread: Re: Crash when closing window from the menu
  • Index(es):
    • Date
    • Thread