• 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
crash on command-W
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

crash on command-W


  • Subject: crash on command-W
  • From: "James W. Walker" <email@hidden>
  • Date: Mon, 9 Jun 2008 21:03:14 -0700

I'm getting an access violation (inside NSTableView) when I close a window by command-W but not when I close it by clicking the close widget. I don't understand why it would make a difference.

I have a nib containing a window and an NSWindowController subclass. It's not a document-based app, but there can be multiple instances of the window and its controller. In order to try to get the controller to be released when the window is closed, I put [self release] in a windowWillClose delegate method.

The window contains an NSTableView. The crash happens if I open the window, click on a row of the table, and type command-w. If I just open the window and command-w, no crash.

Anyone have a clue for me?
_______________________________________________

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: crash on command-W
      • From: Andrew Farmer <email@hidden>
  • Prev by Date: Re: 3rd Party Nonsense (was Re: Regular Expressions?)
  • Next by Date: Re: IBPlugin error
  • Previous by thread: Re: Need help parsing a large text file one line at a time
  • Next by thread: Re: crash on command-W
  • Index(es):
    • Date
    • Thread