Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2011-03-01 20:19:32 -0500
committerGreg Wilkins2011-03-01 20:19:32 -0500
commitd77069a8ea69655de4c660f62eaaca292b645d06 (patch)
tree0e5f8d6efaebcf61ae7ebfc9163497bc958fa5ad /jetty-deploy
parent7b892d18a0f585451066db2659e0fb09088378cd (diff)
downloadorg.eclipse.jetty.project-d77069a8ea69655de4c660f62eaaca292b645d06.tar.gz
org.eclipse.jetty.project-d77069a8ea69655de4c660f62eaaca292b645d06.tar.xz
org.eclipse.jetty.project-d77069a8ea69655de4c660f62eaaca292b645d06.zip
338607 improve destruction of handlers
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2845 7e9141cc-0065-0410-87d8-b60c137991c4
Diffstat (limited to 'jetty-deploy')
-rw-r--r--jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardUndeployer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardUndeployer.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardUndeployer.java
index 969a601546..3b093440e8 100644
--- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardUndeployer.java
+++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardUndeployer.java
@@ -53,7 +53,7 @@ public class StandardUndeployer implements AppLifeCycle.Binding
{
Log.debug("Removing handler: " + child);
coll.removeHandler(child);
- ((ContextHandler)child).destroy();
+ child.destroy();
Log.debug(String.format("After removal: %d (originally %d)",coll.getHandlers().length,originalCount));
}
else if (child instanceof HandlerCollection)

Back to the top