Fix releasing of resources in AioEventLoopGroup, as it missed to shutdown the AsynchronousChannelGroup before. See #659

This commit is contained in:
Norman Maurer 2012-10-16 20:18:52 +02:00
parent 6e98a04813
commit e7c6c88063

View File

@ -71,6 +71,13 @@ public class AioEventLoopGroup extends MultithreadEventLoopGroup {
}
}
@Override
public void shutdown() {
super.shutdown();
// Also shutdown the underlying AsynchrounsChannelGroup
group.shutdown();
}
@Override
protected EventExecutor newChild(
ThreadFactory threadFactory, ChannelTaskScheduler scheduler, Object... args) throws Exception {