mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Changelog: [Internal] The crash is caused by dereferencing invalid pointer. This can happen because `UIManager` can outlive `RCTScheduler` and `Scheduler`. Here we make sure when `Scheduler` is being deconstructed, UIManager's pointer is invalidated. I don't think this is ideal solution but it should fix the crash. Ideally we want the owner of animation delegate to invalidate the pointer. Reviewed By: JoshuaGross Differential Revision: D21922910 fbshipit-source-id: b2a56c1104574cecebaffad1bcbcbff82c1fa0cf