diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/component/ContainerLifeCycle.java b/jetty-util/src/main/java/org/eclipse/jetty/util/component/ContainerLifeCycle.java index 2e1311821fa..2457a9043ec 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/component/ContainerLifeCycle.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/component/ContainerLifeCycle.java @@ -538,9 +538,7 @@ public class ContainerLifeCycle extends AbstractLifeCycle implements Container, { try { - LifeCycle lc=(LifeCycle)bean._bean; - if (lc.isRunning()) - stop(lc); + stop((LifeCycle)bean._bean); } catch(RuntimeException | Error e) {