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

修复停止扫描后内存泄漏 #472

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chenzenghui2013
Copy link

如果外部扫描通过匿名类设置监听后,停止扫描后对象无法自动释放,
因为匿名类默认持有外部activity对象,然后单例持有匿名类形成循环引用,导致activity退出后无法gc

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

Successfully merging this pull request may close these issues.

2 participants