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:
srowen 2009-05-01 19:13:47 +00:00
parent fb2813d1ea
commit 35800f4bca

View file

@ -197,8 +197,12 @@ public final class AndroidHttpClient implements HttpClient {
return responseStream;
}
/**
* Release resources associated with this client. You must call this,
* or significant resources (sockets and memory) may be leaked.
*/
public void close() {
// do nothing
getConnectionManager().shutdown();
}
public HttpParams getParams() {