thread name tweak

This commit is contained in:
zzz
2015-04-22 14:51:40 +00:00
parent 59a58ea310
commit da0036581c

View File

@@ -506,7 +506,7 @@ public abstract class I2PTunnelClientBase extends I2PTunnelTask implements Runna
_log.debug("startup " + _clientId, new Exception("I did it"));
// prevent JVM exit when running outside the router
boolean isDaemon = getTunnel().getContext().isRouterContext();
Thread t = new I2PAppThread(this, "Client " + _clientId, isDaemon);
Thread t = new I2PAppThread(this, "I2PTunnel Client " + getTunnel().listenHost + ':' + localPort, isDaemon);
t.start();
open = true;
synchronized (this) {