356751 Add null protection to ServletContextHandler.doStop
This commit is contained in:
parent
44204a2e5b
commit
a96052def2
|
@ -142,8 +142,10 @@ public class ServletContextHandler extends ContextHandler
|
|||
protected void doStop() throws Exception
|
||||
{
|
||||
super.doStop();
|
||||
_decorators.clear();
|
||||
_wrapper.setHandler(null);
|
||||
if (_decorators != null)
|
||||
_decorators.clear();
|
||||
if (_wrapper != null)
|
||||
_wrapper.setHandler(null);
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
|
|
Loading…
Reference in New Issue