Get the executor of the context earlier if possible.
This commit is contained in:
parent
b322e98712
commit
b9fc67c9b8
@ -152,6 +152,8 @@ final class DefaultChannelHandlerContext extends DefaultAttributeMap implements
|
||||
pipeline.childExecutors.put(executor, childExecutor);
|
||||
}
|
||||
this.executor = childExecutor;
|
||||
} else if (channel.isRegistered()) {
|
||||
this.executor = channel.eventLoop();
|
||||
} else {
|
||||
this.executor = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user