Re: NSTableView is messaging zombie delegate
Re: NSTableView is messaging zombie delegate
- Subject: Re: NSTableView is messaging zombie delegate
- From: Jens Alfke <email@hidden>
- Date: Sun, 08 May 2016 12:59:09 -0700
> On May 8, 2016, at 12:19 PM, Matthew LeRoy <email@hidden> wrote:
>
> Unfortunately, setting the table view’s delegate to nil during tear-down (either in -windowWillClose: or in NSViewController’s -dealloc) doesn’t seem to fix the issue. I still get random but regularly reproducible crashes, with the same stack trace.
Sounds like the delegate is being dealloced before either of those two methods is called. Set a breakpoint in its dealloc method (create a stub dealloc if necessary) to figure out why.
I assume you’ve also enabled NSZombie in the scheme’s diagnostics tab?
—Jens
_______________________________________________
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