crash on command-W
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