mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-03-29 08:39:00 +08:00
Actually do the thing
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
#import "ASPendingStateController.h"
|
||||
#import "ASThread.h"
|
||||
#import "ASWeakSet.h"
|
||||
#import "ASDisplayNode.h"
|
||||
#import "ASAssert.h"
|
||||
#import "ASDisplayNodeInternal.h"
|
||||
|
||||
@interface ASPendingStateController()
|
||||
{
|
||||
@@ -83,7 +83,7 @@
|
||||
{
|
||||
ASDN::MutexLocker l(_lock);
|
||||
for (__unused ASDisplayNode *node in _dirtyNodes) {
|
||||
// TODO: apply pending state.
|
||||
[node applyPendingViewState];
|
||||
}
|
||||
[_dirtyNodes removeAllObjects];
|
||||
_flags.pendingFlush = NO;
|
||||
|
||||
Reference in New Issue
Block a user