mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
9349ee26e7
Summary: This diff makes it clear from the code that ShadowTree delegate must be around for the whole life-time of a ShadowTree instance and there is no way to revoke/reset the delegate. This makes reasoning about the lifetime much simpler. We didn't call `setDelegate(nullptr)` before, so nothing really changes here. Changelog: [Internal] Fabric-specific internal change. Reviewed By: mdvacca Differential Revision: D18542502 fbshipit-source-id: f57ee21e0bb533fb82cb6f8ba7723e40ffb25a38