react-native-macos/ReactCommon/fabric/scheduler
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
..
AsynchronousEventBeat.cpp Fabric: Cross-platform implementation of `SynchronousEventBeat` and `AsynchronousEventBeat` 2020-05-06 18:28:52 -07:00
AsynchronousEventBeat.h Fabric: Cross-platform implementation of `SynchronousEventBeat` and `AsynchronousEventBeat` 2020-05-06 18:28:52 -07:00
BUCK use xplat BUCK attribution 2020-05-15 21:55:52 -07:00
Scheduler.cpp Fix KERN_INVALID_ADDRESS in configureNextLayoutAnimation 2020-06-07 13:17:52 -07:00
Scheduler.h Fix KERN_INVALID_ADDRESS in LayoutAnimation 2020-06-05 16:11:11 -07:00
SchedulerDelegate.h Fabric: `scheduler` module was decoupled from `uimanager` 2020-04-18 15:00:21 -07:00
SchedulerToolbox.cpp Fabric: `scheduler` module was decoupled from `uimanager` 2020-04-18 15:00:21 -07:00
SchedulerToolbox.h Fabric: Using `PlatformRunLoopObserver` instead of `MainRunLoopEventBeat` and `RuntimeEventBeat` on iOS (gated) 2020-05-11 09:01:33 -07:00
SynchronousEventBeat.cpp Fabric: Cross-platform implementation of `SynchronousEventBeat` and `AsynchronousEventBeat` 2020-05-06 18:28:52 -07:00
SynchronousEventBeat.h Fabric: Cross-platform implementation of `SynchronousEventBeat` and `AsynchronousEventBeat` 2020-05-06 18:28:52 -07:00