29245e96cb
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 |
||
---|---|---|
.. | ||
FBSnapshotTestCase | ||
RCTTest.xcodeproj | ||
RCTSnapshotManager.h | ||
RCTSnapshotManager.m | ||
RCTTestModule.h | ||
RCTTestModule.m | ||
RCTTestRunner.h | ||
RCTTestRunner.m | ||
SnapshotViewIOS.android.js | ||
SnapshotViewIOS.ios.js |