Merge branch 'master' of git.dolda2000.com:/srv/git/r/jsvc
[jsvc.git] / src / dolda / jsvc / ThreadContext.java
index 8e544d3..6eb7d87 100644 (file)
@@ -118,8 +118,8 @@ public class ThreadContext extends ThreadGroup {
     }
     
     public void shutdown() {
-       if(root instanceof ContextResponder)
-           ((ContextResponder)root).destroy();
+       if(root instanceof Destroyable)
+           ((Destroyable)root).destroy();
        try {
            long last = 0;
            while(true) {