mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e94f2c3625
Summary: Certain turbomodules set `requiresMainQueueSetup` to true. This is b/c they use some fancy APIs in setup that need main queue. TurboModuleManager mostly adhered to this restriction, the only case it didn't is when setting bridge. There is possibility that this happens on JS thread, which would crash the app for these certain TM. This diff fixes that. Reviewed By: RSNara Differential Revision: D16921644 fbshipit-source-id: 69b2410550360d3ccb03c0b71fb7dfccb889eda4