mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
1c1fa5b909
Summary: This can cause a deadlock if the main thread synchronously calls into some JS that creates a TurboModule. However, this is also the behaviour of legacy NativeModules. Furthermore, this also greatly simplifies how we'll fix async method invocation in TurboModules: T55255146. Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D20364251 fbshipit-source-id: d0db85665506f08c51c2f33a123e69960923e7f3