[#1239] Fix possible NPE while fail flush futures during close
This commit is contained in:
parent
d299eeb485
commit
8632d9011e
@ -698,7 +698,7 @@ public abstract class AbstractChannel extends DefaultAttributeMap implements Cha
|
|||||||
promise.setFailure(t);
|
promise.setFailure(t);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (closedChannelException != null) {
|
if (closedChannelException == null) {
|
||||||
closedChannelException = new ClosedChannelException();
|
closedChannelException = new ClosedChannelException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user