Re: Unit test crash inside NSTableView
Re: Unit test crash inside NSTableView
- Subject: Re: Unit test crash inside NSTableView
- From: David Catmull <email@hidden>
- Date: Wed, 11 Nov 2009 19:10:54 -0800
On Nov 11, 2009, at 10:30 AM, Corbin Dunn wrote:
> Your delegate is being deallocated too soon. Try adding a log when it gets dealloced (or a breakpoint) and see if the crash happens after the deallocation. It probably will.
That would seem to fit, but the breakpoint doesn't trigger and I can examine the object in the debugger after the crash. It looks fine. The outline view's _delegate and _dataSource still point to it, too.
--
David Catmull
email@hidden
http://www.uncommonplace.com/
_______________________________________________
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