Remove the child Executor with the right method so it will also work
when the channel is not the key.See #175
This commit is contained in:
parent
01225b0a52
commit
188f01f317
@ -260,7 +260,7 @@ public class OrderedMemoryAwareThreadPoolExecutor extends
|
||||
ChannelStateEvent se = (ChannelStateEvent) e;
|
||||
if (se.getState() == ChannelState.OPEN &&
|
||||
!channel.isOpen()) {
|
||||
childExecutors.remove(channel);
|
||||
removeChildExecutor(key);
|
||||
}
|
||||
}
|
||||
return executor;
|
||||
|
Loading…
x
Reference in New Issue
Block a user