mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Filter out legacy modules from TurboModule system
Summary: Changelog: [Internal] Reviewed By: philIip Differential Revision: D45628219 fbshipit-source-id: 8ff5c01f143b85ac199bc5913dba9c4fb5ec4700
This commit is contained in:
committed by
Facebook GitHub Bot
parent
bea3821155
commit
1d0be6d2c8
+1
-1
@@ -407,7 +407,7 @@ static Class getFallbackClassFromName(const char *name)
|
||||
|
||||
__block id<RCTBridgeModule> module = nil;
|
||||
|
||||
if ([moduleClass conformsToProtocol:@protocol(RCTBridgeModule)]) {
|
||||
if ([moduleClass conformsToProtocol:@protocol(RCTTurboModule)]) {
|
||||
__weak __typeof(self) weakSelf = self;
|
||||
dispatch_block_t work = ^{
|
||||
auto strongSelf = weakSelf;
|
||||
|
||||
Reference in New Issue
Block a user