Avoid to null out the cookieStore field in doStop(), to prevent random NPEs while stopping.
This commit is contained in:
parent
1de043d6c3
commit
b4d1060e88
|
@ -228,7 +228,6 @@ public class HttpClient extends ContainerLifeCycle
|
||||||
protected void doStop() throws Exception
|
protected void doStop() throws Exception
|
||||||
{
|
{
|
||||||
cookieStore.removeAll();
|
cookieStore.removeAll();
|
||||||
cookieStore = null;
|
|
||||||
decoderFactories.clear();
|
decoderFactories.clear();
|
||||||
handlers.clear();
|
handlers.clear();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue