Commit 406663b3 authored by chiaming2000's avatar chiaming2000
Browse files

Set TCP (non-nio) worker threads as daemon threads.

parent 50fc6407
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@ public class ServiceThreadFactory implements ThreadFactory {
	@Override
	public Thread newThread(Runnable r) {
		Thread t = new Thread(r);
		t.setDaemon(true);
		t.setName(myName + this.nextSequence());
		return t;
	}