Fix a bug where channelInactive() is not triggered for local transport
This commit is contained in:
parent
cf0259661e
commit
d27a27c980
@ -498,8 +498,8 @@ public abstract class AbstractChannel extends DefaultAttributeMap implements Cha
|
||||
@Override
|
||||
public final void close(final ChannelFuture future) {
|
||||
if (eventLoop().inEventLoop()) {
|
||||
boolean wasActive = isActive();
|
||||
if (closeFuture.setClosed()) {
|
||||
boolean wasActive = isActive();
|
||||
try {
|
||||
doClose();
|
||||
future.setSuccess();
|
||||
|
Loading…
Reference in New Issue
Block a user