react-native-macos/ReactCommon/fabric/uimanager
Samuel Susla 6860cb0775 Fix KERN_INVALID_ADDRESS in configureNextLayoutAnimation
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
2020-06-07 13:17:52 -07:00
..
tests Fabric: `templateprocessor` module was decoupled from `uimanager` 2020-04-18 15:00:22 -07:00
BUCK use xplat BUCK attribution 2020-05-15 21:55:52 -07:00
LayoutAnimationStatusDelegate.h LayoutAnimations: implement LayoutAnimationStatusDelegate for platform-specific integrations 2020-05-20 19:45:49 -07:00
UIManager.cpp Fix KERN_INVALID_ADDRESS in configureNextLayoutAnimation 2020-06-07 13:17:52 -07:00
UIManager.h Fix KERN_INVALID_ADDRESS in configureNextLayoutAnimation 2020-06-07 13:17:52 -07:00
UIManagerAnimationDelegate.h Daily `arc lint --take CLANGFORMAT` 2020-05-21 10:13:22 -07:00
UIManagerBinding.cpp C++ Fabric Core LayoutAnimations 2020-05-20 19:45:49 -07:00
UIManagerBinding.h C++ Fabric Core LayoutAnimations 2020-05-20 19:45:49 -07:00
UIManagerDelegate.h Replace usage of SharedShadowNode for ShadowNode::Shared 2020-01-29 21:06:55 -08:00
primitives.h Replace usage of SharedShadowNode for ShadowNode::Shared 2020-01-29 21:06:55 -08:00