Fix retain cycles in ASDisplayNode and ASTableView

This commit is contained in:
Ian Cloutier
2014-10-09 19:00:38 -04:00
parent f83f113493
commit 41c3289a11
6 changed files with 122 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ BOOL ASDisplayNodeSubclassOverridesSelector(Class subclass, SEL selector);
@protected
ASDN::RecursiveMutex _propertyLock; // Protects access to the _view, _pendingViewState, _subnodes, _supernode, _renderingSubnodes, and other properties which are accessed from multiple threads.
ASDisplayNode *_supernode;
ASDisplayNode * __weak _supernode;
ASSentinel *_displaySentinel;
ASSentinel *_replaceAsyncSentinel;