Open antons opened 6 years ago
delegate
dataSource
assign
weak
nil
NSTableView
_delegateDataSourceProxy
delegate
anddataSource
areassign
(notweak
) on macOS 10.11.dataSource
was set tonil
beforedelegate
, and whendataSource
is changedNSTableView
notifies thedelegate
about removing all rows.58 introduced an issue where
_delegateDataSourceProxy
was released before settingdelegate
anddataSource
tonil
.NSTableView
attempted to notify thedelegate
about removing all rows it was already released, which caused crashes.