diff --git a/CHANGELOG.md b/CHANGELOG.md index 452f4dcc5..85cf0c475 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## master * Add your own contributions to the next release on the line below this with your name. +- [ASDisplayNode] Do not cancel display when in exit hierarchy but let interface state changing to handle it. [Max Wang](https://github.com/wsdwsd0829). [#1110](https://github.com/TextureGroup/Texture/pull/1110) - [Breaking][ASDisplayNode] Make interface state delegate protocol required. [Max Wang](https://github.com/wsdwsd0829). [#1112](https://github.com/TextureGroup/Texture/pull/1112) - [ASCollectionView] Fix reording of cells manually for iOS 9 & 10. [Max Wang](https://github.com/wsdwsd0829). [#1081](https://github.com/TextureGroup/Texture/pull/1081) - [ASDisplayNode] Allow add/remove interface state delegates on background thread. [Max Wang](https://github.com/wsdwsd0829). [#1090](https://github.com/TextureGroup/Texture/pull/1090) diff --git a/Source/ASDisplayNode.mm b/Source/ASDisplayNode.mm index d84b5cbe0..df87df1e4 100644 --- a/Source/ASDisplayNode.mm +++ b/Source/ASDisplayNode.mm @@ -2846,9 +2846,7 @@ - (void)__exitHierarchy _flags.isExitingHierarchy = YES; _flags.isInHierarchy = NO; - [self._locked_asyncLayer cancelAsyncDisplay]; - - // Don't call -didExitHierarchy while holding __instanceLock__. + // Don't call -didExitHierarchy while holding __instanceLock__. // This method and subsequent ones (i.e -interfaceState and didExit(.*)State) // don't expect that they are called while the lock is being held. // More importantly, didExit(.*)State methods are meant to be overriden by clients.