Fix releasing of resources in AioEventLoopGroup, as it missed to shutdown the AsynchronousChannelGroup before. See #659
This commit is contained in:
parent
6e98a04813
commit
e7c6c88063
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user