mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-30 17:33:21 +08:00
Added nil check to RCTModuleData
Reviewed By: javache Differential Revision: D3456536 fbshipit-source-id: b23e618cf5b4a33822579b456c0f50a41a1c7a31
This commit is contained in:
committed by
Facebook Github Bot 3
parent
ee0333c65d
commit
cfa9d5ef34
@@ -102,7 +102,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)init);
|
||||
}
|
||||
}
|
||||
|
||||
if (RCTProfileIsProfiling()) {
|
||||
if (_instance && RCTProfileIsProfiling()) {
|
||||
RCTProfileHookInstance(_instance);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user