From: <asa...@us...> - 2014-05-28 13:35:45
|
Revision: 9394 http://sourceforge.net/p/htmlunit/code/9394 Author: asashour Date: 2014-05-28 13:35:40 +0000 (Wed, 28 May 2014) Log Message: ----------- HttpWebConnection: shutdown the connection pool. Issue 1577 Modified Paths: -------------- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java 2014-05-27 20:22:29 UTC (rev 9393) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java 2014-05-28 13:35:40 UTC (rev 9394) @@ -734,6 +734,9 @@ if (httpClientBuilder_ != null) { httpClientBuilder_ = null; } + if (connectionManager_ != null) { + connectionManager_.shutdown(); + } } /** |