Ensure finalize() always calls super.finalize()

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@767722 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2009-04-22 23:34:21 +00:00
parent 1d0b945d90
commit 5433ef9c77

View File

@ -109,9 +109,12 @@ public ThreadSafeClientConnManager(HttpParams params,
@Override
protected void finalize() throws Throwable {
try {
shutdown();
} finally {
super.finalize();
}
}
/**
* Hook for creating the connection pool.