mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Some clean up
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user