X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fdolda%2Fjsvc%2FThreadContext.java;h=6eb7d87a0cd86a666bebdd897e3f67d500ff95da;hb=d45c718cd98a37af1023176f252a3c59775b7f10;hp=8e544d3cd64b8f3c9bc490adb9fbff4697b3b249;hpb=3299417335913b0886ca80ac0de62d76fc741dbe;p=jsvc.git diff --git a/src/dolda/jsvc/ThreadContext.java b/src/dolda/jsvc/ThreadContext.java index 8e544d3..6eb7d87 100644 --- a/src/dolda/jsvc/ThreadContext.java +++ b/src/dolda/jsvc/ThreadContext.java @@ -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) {