mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-30 09:50:26 +00:00
This situation is relatively uncommon. If a user manually uses -[UIView addSubnode:], the convenience category method, and then calls -[ASDisplayNode removeFromSuperview] -- we would bypass performing the actual removal as no supernode pointer is set. After further consideration, the special handling here to support divergence between the supernode pointer and the view / layer hierarchy is not something we need to maintain going forward, and removing it makes addressing this easy.
99 KiB
99 KiB