fix Low level Redis client shutdown issue: eventloopgroup won't be shutdown.

The eventloopgroup should be shutdown gracefully
pull/337/head
Felix 9 years ago
parent 42fa838e1d
commit edfc6195a4

@ -138,6 +138,7 @@ public class RedisClient {
public void shutdown() {
shutdownAsync().syncUninterruptibly();
bootstrap.group().shutdownGracefully();
}
public ChannelGroupFuture shutdownAsync() {
@ -150,4 +151,3 @@ public class RedisClient {
}
}

Loading…
Cancel
Save