react-native/React
Peter Argany 1c3191992a Added locking around RN bridge cxx module registry to avoid crash
Summary:
D12904277 was my sad, optimistic attempt to fix this crash.

As @[100006577537606:Slobodan] mentioned on T35879909, the real issue is that moduleRegistry is being created (using _moduleDataByID dict) concurrently while we try to append to this dict.

I added locks around these usage of _moduleDataByID.

Reviewed By: fkgozali

Differential Revision: D12911108

fbshipit-source-id: 2435b7a477c27585898f351c4a0d4c1bd4056756
2018-11-02 18:18:50 -07:00
..
Base iOS: register lazy nativemodules on startup when Chrome is attached 2018-11-02 00:16:16 -07:00
CxxBridge Added locking around RN bridge cxx module registry to avoid crash 2018-11-02 18:18:50 -07:00
CxxModule iOS changes to switch to JSI 2018-10-18 01:06:24 -07:00
CxxUtils Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
DevSupport RN: Missing Copyright Headers 2018-10-31 01:37:26 -07:00
Fabric Fabric: New UIManager registration process (beginning) 2018-10-29 13:06:24 -07:00
Inspector RN: Missing Copyright Headers 2018-10-31 01:37:26 -07:00
Modules Fix the lazily LaodedView to avoid weird naming issues 2018-10-30 14:41:53 -07:00
Profiler Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
React.xcodeproj Upgrade folly to v2018.10.22.00 for iOS (#21976) 2018-10-29 12:13:11 -07:00
UIUtils Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Views Split ViewAccessibility into DeprecatedViewAccessibility and rename r… (#21422) 2018-10-05 10:03:10 -07:00
third-party.xcconfig Upgrade folly to v2018.10.22.00 for iOS (#21976) 2018-10-29 12:13:11 -07:00