Avoid to null out the cookieStore field in doStop(), to prevent random NPEs while stopping.

This commit is contained in:
Simone Bordet 2014-04-29 15:15:55 +02:00
parent 1de043d6c3
commit b4d1060e88
1 changed files with 0 additions and 1 deletions

View File

@ -228,7 +228,6 @@ public class HttpClient extends ContainerLifeCycle
protected void doStop() throws Exception
{
cookieStore.removeAll();
cookieStore = null;
decoderFactories.clear();
handlers.clear();