the shutdown detector is a daemon

This commit is contained in:
jrandom
2004-08-24 03:19:54 +00:00
committed by zzz
parent f220300212
commit cdafefebd3

View File

@ -111,6 +111,8 @@ public class Router {
};
_shutdownHook = new ShutdownHook();
_gracefulShutdownDetector = new I2PThread(new GracefulShutdown());
_gracefulShutdownDetector.setDaemon(true);
_gracefulShutdownDetector.setName("Graceful shutdown hook");
_gracefulShutdownDetector.start();
}