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

非ARC项目使用此库出现无法释放的问题 #1

Closed
tinpont opened this issue Jun 24, 2014 · 1 comment
Closed

非ARC项目使用此库出现无法释放的问题 #1

tinpont opened this issue Jun 24, 2014 · 1 comment

Comments

@tinpont
Copy link

tinpont commented Jun 24, 2014

image
已设置强制使用ARC选项,大概流程是这样

MainView -> loadTableView(with MJRefresh)

MainView -> [_tableView removeFromSuperView];

_tableView dealloc not called.

image

如果注释addHeader和addFooter则可以正常dealloc

@tinpont
Copy link
Author

tinpont commented Jun 25, 2014

问题已经解决,是出现了self引用循环,改成这样写就没问题了。最后还是感谢你的开源项目。
image

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

1 participant