> On May 6, 2016, at 1:03 PM, Matthew LeRoy wrote:
>
> Hello,
>
> I'm having an issue where an NSTableView appears to be messaging its delegate
> after the delegate has been deallocated, causing an EXC_BAD_ACCESS crash. It
> doesn't always happen, but it happens regularly. My understanding is
On May 8, 2016, at 13:19, Quincey Morris
wrote:
If you look at your backtrace again, you’ll see that it crashed doing
something with rows. It’s as likely trying to message your data source as your
delegate. You should nil that as well. Note that it’s not necessarily that any
p
On Fri, 6 May 2016 13:28:10 -0700, Jens Alfke said:
>> On May 6, 2016, at 1:03 PM, Matthew LeRoy wrote:
>>
>> My understanding is that NSTableView's delegate is a zeroing weak reference
>
>Are you sure? Historically it’s been unsafe_unretained — in the old days
>before weak references or ARC, th
On 08 May 2016, at 21:19, Matthew LeRoy 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 sta
On May 8, 2016, at 12:19 , Matthew LeRoy 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
> On May 8, 2016, at 12:19 PM, Matthew LeRoy 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
>On May 6, 2016, at 1:03 PM, Matthew LeRoy wrote:
>
> My understanding is that NSTableView's delegate is a zeroing weak
> reference
>
>
>Are you sure? Historically it’s been unsafe_unretained — in the old days
>before weak references or ARC, the view never retained nor released the
>deleg
> On May 6, 2016, at 1:03 PM, Matthew LeRoy wrote:
>
> My understanding is that NSTableView's delegate is a zeroing weak reference
Are you sure? Historically it’s been unsafe_unretained — in the old days before
weak references or ARC, the view never retained nor released the delegate. The
typ
> On 6 May 2016, at 21:03, Matthew LeRoy wrote:
>
> Hello,
>
> I'm having an issue where an NSTableView appears to be messaging its delegate
> after the delegate has been deallocated, causing an EXC_BAD_ACCESS crash. It
> doesn't always happen, but it happens regularly. My understanding is th
Hello,
I'm having an issue where an NSTableView appears to be messaging its delegate
after the delegate has been deallocated, causing an EXC_BAD_ACCESS crash. It
doesn't always happen, but it happens regularly. My understanding is that
NSTableView's delegate is a zeroing weak reference, and so
10 matches
Mail list logo