[#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);
|
||||
}
|
||||
|
||||
if (closedChannelException != null) {
|
||||
if (closedChannelException == null) {
|
||||
closedChannelException = new ClosedChannelException();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user