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

好像OkHttp ConnectionPool和Okio Watchdog没有正确关闭 #95

Open
lewiswu1209 opened this issue Oct 12, 2018 · 4 comments
Open

好像OkHttp ConnectionPool和Okio Watchdog没有正确关闭 #95

lewiswu1209 opened this issue Oct 12, 2018 · 4 comments

Comments

@lewiswu1209
Copy link

我在写一个Web项目,后台放了个Webcollector爬取一些数据,然后前台做了几个页面做展示,但是Tomcat关闭的时候日志中会打印如下内容:
The web application [] appears to have started a thread named [Okio Watchdog] but has failed to stop it. This is very likely to create a memory leak.
The web application [] appears to have started a thread named [Okio Watchdog] but has failed to stop it.This is very likely to create a memory leak.
我不太熟悉OKHTTPClient,请教下这两个线程需要如何正确终止,谢谢啦。

@hujunxianligong
Copy link
Member

hujunxianligong commented Oct 12, 2018 via email

@lewiswu1209
Copy link
Author

我去,您回复的这么快,WebCollector 2.73-alpha,用的maven仓库里的

@hujunxianligong
Copy link
Member

hujunxianligong commented Oct 12, 2018 via email

@mdzz9527
Copy link
Contributor

mdzz9527 commented Nov 8, 2018

你还没有检查完

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

3 participants