mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Restore shutdown of connection manager
git-svn-id: https://zxing.googlecode.com/svn/trunk@926 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
fb2813d1ea
commit
35800f4bca
|
@ -197,8 +197,12 @@ public final class AndroidHttpClient implements HttpClient {
|
||||||
return responseStream;
|
return responseStream;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Release resources associated with this client. You must call this,
|
||||||
|
* or significant resources (sockets and memory) may be leaked.
|
||||||
|
*/
|
||||||
public void close() {
|
public void close() {
|
||||||
// do nothing
|
getConnectionManager().shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
public HttpParams getParams() {
|
public HttpParams getParams() {
|
||||||
|
|
Loading…
Reference in a new issue