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

线程没有关闭 #1

Open
GoogleCodeExporter opened this issue Jan 27, 2016 · 1 comment
Open

线程没有关闭 #1

GoogleCodeExporter opened this issue Jan 27, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

我按照测试代码运行了一下,发现运行完后线程并没有关闭��
�是不是还要调用什么方法主动关闭呢

Original issue reported on code.google.com by mogaoy...@gmail.com on 26 Oct 2010 at 3:10

@GoogleCodeExporter
Copy link
Author

anycService.close(3000); 
是可以关闭服务的,
但是发现有一个BUG已经修复了.
1.CacheAsynWorkHandler 守护线程没有为后台线程
2.线程池 调用 awaitTermination 方法 
在shutdown之后,使服务线程等待失效。


Original comment by panxiuya...@gmail.com on 27 Oct 2010 at 12:36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant