We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,反馈一个bug
- (void)setSelectIndex:(int)selectIndex { _selectIndex = selectIndex; _markedSelectIndex = kWMUndefinedIndex; if (self.menuView && _hasInited) { [self.menuView selectItemAtIndex:selectIndex]; } else { _markedSelectIndex = selectIndex; UIViewController *vc = [self.memCache objectForKey:@(selectIndex)]; if (!vc) { vc = [self initializeViewControllerAtIndex:selectIndex]; [self.memCache setObject:vc forKey:@(selectIndex)]; } self.currentViewController = vc; } }
以上代码的else中没有对缓存策略的判断,当以下场景的时候会出现第一个对象无法释放
vc.cachePolicy = WMPageControllerCachePolicyDisabled;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
你好,反馈一个bug
以上代码的else中没有对缓存策略的判断,当以下场景的时候会出现第一个对象无法释放
The text was updated successfully, but these errors were encountered: