mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix NSDictionary crash in bridgeless RN
Summary: Changelog: [iOS] [Fixed] Fixed crash in TurboModules when bridge isn't set Reviewed By: RSNara Differential Revision: D17939896 fbshipit-source-id: 4c59de00da30fa8ceb32e590d65663ac37ff3ca2
This commit is contained in:
committed by
Facebook Github Bot
parent
101f864bcc
commit
474f12e6fc
@@ -360,7 +360,7 @@ static Class getFallbackClassFromName(const char *name)
|
||||
object:strongBridge
|
||||
userInfo:@{
|
||||
@"module" : module,
|
||||
@"bridge" : RCTNullIfNil(strongBridge == nil ? nil : strongBridge.parentBridge)
|
||||
@"bridge" : RCTNullIfNil([strongBridge parentBridge])
|
||||
}];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user