mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
64edddadcc
Summary: public The implementation of the `methodQueue` lazy initializer in `RCTModuleData` could result in the queue being set twice, because calling `methodQueue` for a module that hasn't been instantiated would call `RCTModuleData.instance` to create the module, which itself calls `methodQueue`. It's not clear if this was causing a bug, but it may be related to an occasional bug where the `RCTViewManager.methodQueue` returns nil. Reviewed By: majak Differential Revision: D2783320 fb-gh-sync-id: 9194da0fd7392f63825da1f5c450363dd300b635