Skip to content

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