Lock node's properties while pending view state is applied

This commit is contained in:
Adlai Holler 2016-01-07 23:48:10 -08:00
parent b5b5f9f559
commit c9d53517fa

View File

@ -985,6 +985,7 @@ static inline void filterNodesInLayoutAtIndexesWithIntersectingNodes(
- (void)applyPendingViewState
{
ASDisplayNodeAssertMainThread();
ASDN::MutexLocker l(_propertyLock);
if (self.layerBacked) {
[_pendingViewState applyToLayer:self.layer];
} else {