You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.
(SEL)_methodWithComponetName:(NSString *)name withMethod:(NSString *)method isSync:(BOOL *)isSync
{
WXAssert(name && method, @"Fail to find selector with module name and method, please check if the parameters are correct !");
//...
} 闪退在了这里,原因是在页面pop时,发出了disappear,然后销毁了页面里的实例,但页面里disappear事件的回调方法里,调用组件的方法时,self.instance依然是非空,根据ref找不到组件:
(void)invoke
{
WXPerformBlockOnComponentThread(^{
WXComponent *component = [self.instance componentForRef:_componentRef];
if (!component) {
WXLogError(@"component not found for ref:%@, type:%@", _componentRef, _componentName);
}
//...
}
`
The text was updated successfully, but these errors were encountered:
`
{
WXAssert(name && method, @"Fail to find selector with module name and method, please check if the parameters are correct !");
//...
}
闪退在了这里,原因是在页面pop时,发出了disappear,然后销毁了页面里的实例,但页面里disappear事件的回调方法里,调用组件的方法时,self.instance依然是非空,根据ref找不到组件:
{
WXPerformBlockOnComponentThread(^{
WXComponent *component = [self.instance componentForRef:_componentRef];
if (!component) {
WXLogError(@"component not found for ref:%@, type:%@", _componentRef, _componentName);
}
//...
}
`
The text was updated successfully, but these errors were encountered: