From 06b0cba68dfdaeda872768806ecbe79b5e8d56a2 Mon Sep 17 00:00:00 2001 From: Garrett Moon Date: Wed, 1 Mar 2017 10:57:18 -0800 Subject: [PATCH] It doesn't appear that this method needs to be protected by thread affinity? It has locking and is backed by an ivar, not UIKit. (#3107) --- Source/ASDisplayNode.mm | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/ASDisplayNode.mm b/Source/ASDisplayNode.mm index f7cb9fbc31..b5b7c938fd 100644 --- a/Source/ASDisplayNode.mm +++ b/Source/ASDisplayNode.mm @@ -1905,7 +1905,6 @@ NSString * const ASRenderingEngineDidDisplayNodesScheduledBeforeTimestamp = @"AS - (CGFloat)contentsScaleForDisplay { - ASDisplayNodeAssertThreadAffinity(self); ASDN::MutexLocker l(__instanceLock__); return _contentsScaleForDisplay; @@ -1913,7 +1912,6 @@ NSString * const ASRenderingEngineDidDisplayNodesScheduledBeforeTimestamp = @"AS - (void)setContentsScaleForDisplay:(CGFloat)contentsScaleForDisplay { - ASDisplayNodeAssertThreadAffinity(self); ASDN::MutexLocker l(__instanceLock__); if (_contentsScaleForDisplay == contentsScaleForDisplay)