alexrozanski / PXSourceList

Source List control for the Mac
Other
639 stars 77 forks source link

Fixed compatibility with 10.12 Sierra #59

Closed dinhvh closed 8 years ago

dinhvh commented 8 years ago

PXSourceList crashes on OS X 10.12 when calling -setDataSource:

Here's the stack trace of the crash:

0   CoreFoundation                       0x00007fff92cf8322 ___forwarding___ + 1042
1   CoreFoundation                       0x00007fff92cf7e88 _CF_forwarding_prep_0 + 120
2   Foundation                           0x00007fff947b5699 -[NSProxy isKindOfClass:] + 64
3   AppKit                               0x00007fff91171e0c -[NSTableView _setDataSourceIvar:] + 107
4   AppKit                               0x00007fff90b3c028 -[NSOutlineView setDataSource:] + 65
5   DejaLu                               0x0000000109062bd1 -[PXSourceList setDataSource:] (PXSourceList.m:98)

This patch fixes it.

alexrozanski commented 8 years ago

Nice, thanks for this!