X-Git-Url: http://dolda2000.com/gitweb/?p=jsvc.git;a=blobdiff_plain;f=src%2Fdolda%2Fjsvc%2FThreadContext.java;h=6eb7d87a0cd86a666bebdd897e3f67d500ff95da;hp=8e544d3cd64b8f3c9bc490adb9fbff4697b3b249;hb=f05313f6190e2ddb2caaac60f7d7d242913d47b3;hpb=3299417335913b0886ca80ac0de62d76fc741dbe 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) {