Re: crash on command-W
Re: crash on command-W
- Subject: Re: crash on command-W
- From: Andrew Farmer <email@hidden>
- Date: Mon, 9 Jun 2008 21:18:41 -0700
On 09 Jun 08, at 21:03, James W. Walker wrote:
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?
Almost certainly a memory management error in your data source. Have
you tried the NSZombieEnabled song-and-dance yet?
_______________________________________________
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