Some clean up

This commit is contained in:
Adlai Holler
2016-01-07 23:39:11 -08:00
parent ea304f7f37
commit b5b5f9f559
5 changed files with 34 additions and 31 deletions

View File

@@ -10,6 +10,7 @@
#import "ASThread.h"
#import "ASWeakSet.h"
#import "ASDisplayNode.h"
#import "ASAssert.h"
@interface ASPendingStateController()
{
@@ -56,6 +57,7 @@
- (void)registerNode:(ASDisplayNode *)node
{
ASDisplayNodeAssert(node.nodeLoaded, @"Expected display node to be loaded before it was registered with ASPendingStateController. Node: %@", node);
ASDN::MutexLocker l(_lock);
[_dirtyNodes addObject:node];