Skip to content
New issue

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

用mleakfinder发现一个内存泄漏. #24

Open
willylee007 opened this issue Jul 17, 2017 · 2 comments
Open

用mleakfinder发现一个内存泄漏. #24

willylee007 opened this issue Jul 17, 2017 · 2 comments

Comments

@willylee007
Copy link

No description provided.

@willylee007
Copy link
Author

WS(weakSelf)
itemView.itemViewAction = ^(MoreItemView *itemView){
if ([weakSelf.delegate respondsToSelector:@selector(morePannel:didSelectItemIndex:)]) {
[weakSelf.delegate morePannel:weakSelf didSelectItemIndex:itemView.tag];
}
};
//改成这样就不会泄漏了.

@iiicp
Copy link
Owner

iiicp commented Aug 14, 2017

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants