Invalid use of SingleClientConnManager
I used volley with okHttp 2.4 in my project, and I got this warning: SingleClientConnManager﹕ Invalid use of SingleClientConnManager: connection still allocated. Make sure to release the connection before allocating another one. Should I disable connection pooling in okHttp to avoid this warning. If I should , how to disable it? Thanks!
That error is not coming from OkHttp..
I used volley with okHttp by using this OkHttpStack, https://gist.github.com/bryanstern/4e8f1cb5a8e14c202750 When I dropped this stack, there was no problem. Dose it have something to do with OkHttp ? Thanks again!
And is there any way to disable connection pool? I just want to have a try, because this problem has troubled me for a long time.
You'll probably get better support asking on stackoverflow.
Sorry , it's my problem, I finally find it! Thanks.