react-native-macos/ReactCommon/fabric/mounting
Samuel Susla 9ebd852334 Fix KERN_INVALID_ADDRESS in LayoutAnimation
Summary:
Changelog: [Internal]

# Problem

`MountingCoordinator` holds a pointer to instance of `MountingOverrideDelegate` which becomes invalid.

# Solution

Use `std::weak_ptr` instead of raw pointer so it is possible to tell whether the pointer is expired.

Reviewed By: JoshuaGross

Differential Revision: D21905351

fbshipit-source-id: c7bf9635742a6ec086a03ba83202e46e1f1f373f
2020-06-05 16:11:11 -07:00
..
stubs Fabric: Improvements in StubView pretty-printing 2020-02-13 12:05:28 -08:00
tests Fix KERN_INVALID_ADDRESS in LayoutAnimation 2020-06-05 16:11:11 -07:00
BUCK use xplat BUCK attribution 2020-05-15 21:55:52 -07:00
Differentiator.cpp Fix position of TextInlineViews when nesting multiple Text components 2020-05-14 21:42:37 -07:00
Differentiator.h Remove branching for optimized differ QE 2020-05-14 05:30:48 -07:00
MountingCoordinator.cpp Fix KERN_INVALID_ADDRESS in LayoutAnimation 2020-06-05 16:11:11 -07:00
MountingCoordinator.h Fix KERN_INVALID_ADDRESS in LayoutAnimation 2020-06-05 16:11:11 -07:00
MountingOverrideDelegate.h Daily `arc lint --take CLANGFORMAT` 2020-05-21 10:13:22 -07:00
MountingTelemetry.cpp Fabric: Improving precision and type-safety of Telemetry 2020-01-27 13:26:49 -08:00
MountingTelemetry.h Fabric: Improving precision and type-safety of Telemetry 2020-01-27 13:26:49 -08:00
MountingTransaction.cpp Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
MountingTransaction.h C++ Fabric Core LayoutAnimations 2020-05-20 19:45:49 -07:00
MountingTransactionMetadata.cpp Tidy up license headers 2019-11-11 17:59:06 -08:00
MountingTransactionMetadata.h Tidy up license headers 2019-11-11 17:59:06 -08:00
ShadowTree.cpp Fix KERN_INVALID_ADDRESS in LayoutAnimation 2020-06-05 16:11:11 -07:00
ShadowTree.h Fix KERN_INVALID_ADDRESS in LayoutAnimation 2020-06-05 16:11:11 -07:00
ShadowTreeDelegate.h chore: fix typo in comments (#28269) 2020-03-09 15:37:33 -07:00
ShadowTreeRegistry.cpp Use vector.empty() to check for emptyness 2020-05-14 11:58:58 -07:00
ShadowTreeRegistry.h Fabric: Using better::map instead of std::unordered_map in ShadowTreeRegistry 2019-12-01 19:23:26 -08:00
ShadowTreeRevision.cpp C++ Fabric Core LayoutAnimations 2020-05-20 19:45:49 -07:00
ShadowTreeRevision.h C++ Fabric Core LayoutAnimations 2020-05-20 19:45:49 -07:00
ShadowView.cpp C++ Fabric Core LayoutAnimations 2020-05-20 19:45:49 -07:00
ShadowView.h C++ Fabric Core LayoutAnimations 2020-05-20 19:45:49 -07:00
ShadowViewMutation.cpp Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
ShadowViewMutation.h Fabric: Making DebugStringConvertibleOptions a required parameter for all methods of static debug-printing infra 2019-12-09 15:37:59 -08:00
TreeStateReconciliation.cpp Fix crash in state reconciliation 2020-02-19 14:31:22 -08:00
TreeStateReconciliation.h Core: Add "state reconciliation" to commit phase, pre-layout 2020-02-08 11:33:43 -08:00