react-native/ReactCommon/fabric
Kevin Gozali 20a8673b48 iOS: create EventTarget when creating EventEmitter and keep it until the emitter is deallocated.
Summary:
@public
There are some race conditions between VM objects getting deallocated and the instanceHandle held by the eventEmitter can point to deallocated memory space, causing undefined behavior like a crash.
For now, keep a strong ref to the eventTarget inside EventEmitter to avoid that scenario. This is a temporary workaround.

Reviewed By: shergin

Differential Revision: D8576785

fbshipit-source-id: 87ef36f716270ceca906b32bb86e0046ceaca19e
2018-06-21 14:35:39 -07:00
..
activityindicator iOS: Support <ActivityIndicator> component 2018-05-23 10:22:47 -07:00
attributedstring Fabric: Using Size instead of Point as textShadowOffset's type 2018-06-08 20:31:40 -07:00
components/switch Fabric: Implemetation of <Switch> component 2018-06-15 11:47:39 -07:00
core iOS: create EventTarget when creating EventEmitter and keep it until the emitter is deallocated. 2018-06-21 14:35:39 -07:00
debug Re-format BUCK to use recommended style. 2018-05-20 23:24:51 -07:00
graphics Fabric: Improved parsing EdgeInsets and CornerInsets styles 2018-06-17 21:46:22 -07:00
sample Fabric: Application layer of events infrastructure 2018-05-22 16:31:58 -07:00
scrollview Fabric: All *EventHandlers were renamed to *EventEmitter 2018-06-09 13:16:45 -07:00
text Fabric: Support of accessibility events for <View> component 2018-05-22 16:31:58 -07:00
textlayoutmanager Fabric: Using exact UIFontWeight* constants instead of CGFloat 2018-06-08 20:31:40 -07:00
uimanager iOS: create EventTarget when creating EventEmitter and keep it until the emitter is deallocated. 2018-06-21 14:35:39 -07:00
view Fabric: Fixed `Identity Transform` matrix literal 2018-06-18 23:02:41 -07:00