From ca576cf3d42e0097d0b2044df10657062cdcf997 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Tue, 16 Jun 2009 05:30:36 +0000 Subject: [PATCH] ping thread shouldn't keep the JVM alive git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18943 71c3de6d-444a-0410-be80-ed276b4c234a --- remoting/src/main/java/hudson/remoting/PingThread.java | 1 + 1 file changed, 1 insertion(+) diff --git a/remoting/src/main/java/hudson/remoting/PingThread.java b/remoting/src/main/java/hudson/remoting/PingThread.java index 7f016762ee..49575b8747 100644 --- a/remoting/src/main/java/hudson/remoting/PingThread.java +++ b/remoting/src/main/java/hudson/remoting/PingThread.java @@ -55,6 +55,7 @@ public abstract class PingThread extends Thread { super("Ping thread for channel "+channel); this.channel = channel; this.interval = interval; + setDaemon(true); } public PingThread(Channel channel) {