Add __autoreleasing paramters to fix block-capture-autoreleasing warning
Differential Revision: D6196088 fbshipit-source-id: 38a4fd33800113fe78c5e4db27ea0d1354568ce0
This commit is contained in:
parent
587225ab45
commit
308360ef7f
|
@ -768,7 +768,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithBundleURL:(__unused NSURL *)bundleUR
|
|||
- (JSValue *)callFunctionOnModule:(NSString *)module
|
||||
method:(NSString *)method
|
||||
arguments:(NSArray *)arguments
|
||||
error:(NSError **)error
|
||||
error:(NSError __autoreleasing **)error
|
||||
{
|
||||
RCTJSCExecutor *jsExecutor = (RCTJSCExecutor *)_javaScriptExecutor;
|
||||
if (![jsExecutor isKindOfClass:[RCTJSCExecutor class]]) {
|
||||
|
|
Loading…
Reference in New Issue