Skip to content

Commit 1d0be6d

Browse files
RSNarafacebook-github-bot
authored andcommitted
Filter out legacy modules from TurboModule system
Summary: Changelog: [Internal] Reviewed By: philIip Differential Revision: D45628219 fbshipit-source-id: 8ff5c01f143b85ac199bc5913dba9c4fb5ec4700
1 parent bea3821 commit 1d0be6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModuleManager.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ - (ModuleHolder *)_getOrCreateModuleHolder:(const char *)moduleName
407407

408408
__block id<RCTBridgeModule> module = nil;
409409

410-
if ([moduleClass conformsToProtocol:@protocol(RCTBridgeModule)]) {
410+
if ([moduleClass conformsToProtocol:@protocol(RCTTurboModule)]) {
411411
__weak __typeof(self) weakSelf = self;
412412
dispatch_block_t work = ^{
413413
auto strongSelf = weakSelf;

0 commit comments

Comments
 (0)