mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 21:53:43 +00:00
the shutdown detector is a daemon
This commit is contained in:
1 parent
f220300212
commit
cdafefebd3
1 file changed
+2
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user