From: Fredrik Tolf Date: Sat, 11 Sep 2010 04:02:49 +0000 (+0200) Subject: Fixed DirServer shutdown bug. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=ecbf37771d3f59836e5930caf5f1b2665478eb92;p=jsvc.git Fixed DirServer shutdown bug. --- diff --git a/src/dolda/jsvc/scgi/DirServer.java b/src/dolda/jsvc/scgi/DirServer.java index 7920977..8f19d8a 100644 --- a/src/dolda/jsvc/scgi/DirServer.java +++ b/src/dolda/jsvc/scgi/DirServer.java @@ -24,7 +24,7 @@ public class DirServer extends Server { String act = "loaded %s as %s"; if(ctx != null) { if(ctx.mtime < file.lastModified()) { - ctx.tg.destroy(); + ctx.tg.shutdown(); contexts.remove(file); ctx = null; act = "reloaded %s as %s";