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

Looper没有及时退出,线程不结束,导致内存泄漏 #23

Open
dengit opened this issue Dec 7, 2015 · 0 comments
Open

Looper没有及时退出,线程不结束,导致内存泄漏 #23

dengit opened this issue Dec 7, 2015 · 0 comments

Comments

@dengit
Copy link

dengit commented Dec 7, 2015

在model/Animation.java中的一些方法中新开线程,并且建立消息循环处理消息,但是在处理消息之后并没有及时退出消息循环,导致线程一直存活,重复操作的话会新开线程,新开的线程也同样不会结束,直接内存泄漏。

涉及的方法有:
Animation.addToFavorite()
Animation.removeFromFavorite()
Animation.removeAllFavorite()

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