react-native/React/CxxModule
Kevin Gozali 29245e96cb iOS: prevent nativemodule access from JS if bridge is no longer valid
Summary: This helps prevent race condition where JS calls to NativeModules got queued and executed while the bridge is invalidating itself, causing assertion failures in test setup (for example). It won't prevent it 100% of the time, due to threading (and adding lock is expensive for each nativemodule call).

Reviewed By: yungsters

Differential Revision: D9231636

fbshipit-source-id: 298eaf52ffa4b84108184124e75b206b9ca7a41d
2018-08-09 12:17:07 -07:00
..
DispatchMessageQueueThread.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTCxxMethod.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTCxxMethod.mm Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTCxxModule.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTCxxModule.mm Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTCxxUtils.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTCxxUtils.mm Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNativeModule.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNativeModule.mm iOS: prevent nativemodule access from JS if bridge is no longer valid 2018-08-09 12:17:07 -07:00