react-native/ReactCommon/fabric/uimanager
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
..
tests iOS: added placeholder test setup for fabric graphics/uimanager/view targets 2018-03-23 22:22:20 -07:00
BUCK Re-format BUCK to use recommended style. 2018-05-20 23:24:51 -07:00
ComponentDescriptorFactory.h Fabric: Application layer of events infrastructure 2018-05-22 16:31:58 -07:00
ComponentDescriptorRegistry.cpp Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00
ComponentDescriptorRegistry.h Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00
Differentiator.cpp Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00
Differentiator.h Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00
FabricUIManager.cpp iOS: create EventTarget when creating EventEmitter and keep it until the emitter is deallocated. 2018-06-21 14:35:39 -07:00
FabricUIManager.h iOS: create EventTarget when creating EventEmitter and keep it until the emitter is deallocated. 2018-06-21 14:35:39 -07:00
Scheduler.cpp Implementation of JS reload without crashing 2018-06-15 11:02:17 -07:00
Scheduler.h Fabric: The first version of event dispatching pipeline 2018-06-01 09:37:46 -07:00
SchedulerDelegate.h Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00
SchedulerEventDispatcher.cpp iOS: create EventTarget when creating EventEmitter and keep it until the emitter is deallocated. 2018-06-21 14:35:39 -07:00
SchedulerEventDispatcher.h iOS: create EventTarget when creating EventEmitter and keep it until the emitter is deallocated. 2018-06-21 14:35:39 -07:00
ShadowTree.cpp Fabric: All *EventHandlers were renamed to *EventEmitter 2018-06-09 13:16:45 -07:00
ShadowTree.h Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00
ShadowTreeDelegate.h Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00
TreeMutationInstruction.cpp Fabric: Improved signature of `calculateMutationInstructions` 2018-05-15 23:58:59 -07:00
TreeMutationInstruction.h Fabric: Refined TreeMutationInstruction class 2018-04-10 12:59:50 -07:00
UIManagerDelegate.h Fabric: Introducing UIManagerDelegate 2018-04-10 12:59:51 -07:00