mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-15 18:59:54 +00:00
Lock node's properties while pending view state is applied
This commit is contained in:
parent
b5b5f9f559
commit
c9d53517fa
@ -985,6 +985,7 @@ static inline void filterNodesInLayoutAtIndexesWithIntersectingNodes(
|
||||
- (void)applyPendingViewState
|
||||
{
|
||||
ASDisplayNodeAssertMainThread();
|
||||
ASDN::MutexLocker l(_propertyLock);
|
||||
if (self.layerBacked) {
|
||||
[_pendingViewState applyToLayer:self.layer];
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user