[#1539] Fix bug in DefaultChannelGroup.close() which was blocking the close() call on ServerChannel

This commit is contained in:
Norman Maurer 2013-07-08 13:36:39 +02:00
parent 65c2a6ed46
commit 39b57b889c

View File

@ -186,7 +186,7 @@ public class DefaultChannelGroup extends AbstractSet<Channel> implements Channel
new LinkedHashMap<Integer, ChannelFuture>(size());
for (Channel c: serverChannels.values()) {
futures.put(c.id(), c.close().awaitUninterruptibly());
futures.put(c.id(), c.close());
}
for (Channel c: nonServerChannels.values()) {
futures.put(c.id(), c.close());