mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
da150343f7
Summary: When TurboModuleManager creates TurboModules, it creates and assigns a method queue to the module using ObjC's Associated Object API: https://www.internalfb.com/code/fbsource/[c91dc16f4b63]/xplat/js/react-native-github/ReactCommon/react/nativemodule/core/platform/ios/RCTTurboModuleManager.mm?lines=636 Down the line, we retrieve this method queue, and use it to create a native CallInvoker: https://www.internalfb.com/code/fbsource/[c91dc16f4b63abd05c7c9a038e88ca692a453c69]/xplat/js/react-native-github/ReactCommon/react/nativemodule/core/platform/ios/RCTTurboModuleManager.mm?lines=279-284 We should assert that this method queue isn't nil. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D27956219 fbshipit-source-id: 2554cf2bffc732bb895e6dc082338a38b05f6580