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

内存泄露问题 #4

Closed
Strong-it opened this issue Jun 24, 2016 · 0 comments
Closed

内存泄露问题 #4

Strong-it opened this issue Jun 24, 2016 · 0 comments

Comments

@Strong-it
Copy link

你好,看见了内存泄露的问题,有一个疑问,c++中有析构函数来处理引用,Java中要自己写一个方法来处理各种成员引用吗? 匿名内部类本来是为了书写方便,但是在addXXLinster中可能会造成OOM,此时需要显示的声明,然后remove掉,虽然会减少OOM,但是否增加了写代码的困难?比如有很多事件需要监听?

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