fix:when onDestroy call native plugin
This commit is contained in:
@@ -95,6 +95,7 @@ - (void)findClass:(Class)clz target:(id)target method:(NSString *)name promise:(
|
||||
NSMethodSignature *methodSignature = [target methodSignatureForSelector:selector];
|
||||
if (methodSignature) {
|
||||
NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:methodSignature];
|
||||
[invocation retainArguments];
|
||||
invocation.selector = selector;
|
||||
invocation.target = target;
|
||||
void *retValue;
|
||||
|
Reference in New Issue
Block a user