From c4f372b1115d1efa284145b1f85ad3468ed438c8 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Wed, 27 Feb 2013 15:41:20 +0100 Subject: [PATCH] [#1097] Make sure the HashedWheelTimer is also stopped on shutdown() --- .../channel/socket/nio/NioClientSocketChannelFactory.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/jboss/netty/channel/socket/nio/NioClientSocketChannelFactory.java b/src/main/java/org/jboss/netty/channel/socket/nio/NioClientSocketChannelFactory.java index 39b6c8b08d..b0fc1384d9 100644 --- a/src/main/java/org/jboss/netty/channel/socket/nio/NioClientSocketChannelFactory.java +++ b/src/main/java/org/jboss/netty/channel/socket/nio/NioClientSocketChannelFactory.java @@ -26,7 +26,6 @@ import org.jboss.netty.channel.group.ChannelGroup; import org.jboss.netty.channel.socket.ClientSocketChannelFactory; import org.jboss.netty.channel.socket.SocketChannel; import org.jboss.netty.util.ExternalResourceReleasable; -import org.jboss.netty.util.HashedWheelTimer; import org.jboss.netty.util.Timer; /** @@ -165,7 +164,7 @@ public class NioClientSocketChannelFactory implements ClientSocketChannelFactory public NioClientSocketChannelFactory( Executor bossExecutor, int bossCount, WorkerPool workerPool) { - this(bossExecutor, bossCount, workerPool, new HashedWheelTimer()); + this(new NioClientBossPool(bossExecutor, bossCount), workerPool); } /**