diff --git a/Source/ASDisplayNode.mm b/Source/ASDisplayNode.mm index aa1497ac1..ed8f4a421 100644 --- a/Source/ASDisplayNode.mm +++ b/Source/ASDisplayNode.mm @@ -3016,7 +3016,7 @@ - (void)didExitHierarchy return; } #endif - if (ASInterfaceStateIncludesVisible(_pendingInterfaceState)) { + if (ASInterfaceStateIncludesVisible(self.pendingInterfaceState)) { void(^exitVisibleInterfaceState)(void) = ^{ // This block intentionally retains self. __instanceLock__.lock();