[#1239] Fix possible NPE while fail flush futures during close

This commit is contained in:
Norman Maurer 2013-04-05 19:23:49 +02:00
parent d299eeb485
commit 8632d9011e

View File

@ -698,7 +698,7 @@ public abstract class AbstractChannel extends DefaultAttributeMap implements Cha
promise.setFailure(t);
}
if (closedChannelException != null) {
if (closedChannelException == null) {
closedChannelException = new ClosedChannelException();
}