Skip to content

Commit

Permalink
[netty#1895] Fix IllegalStateException which was produced during fail…
Browse files Browse the repository at this point in the history
…ing ChunkedWrite after the channel was closed
  • Loading branch information
Norman Maurer committed Oct 8, 2013
1 parent d7f9b1e commit c5f6760
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ private static final class PendingWrite {
void fail(Throwable cause) {
ReferenceCountUtil.release(msg);
if (promise != null) {
promise.setFailure(cause);
promise.tryFailure(cause);
}
}

Expand Down

0 comments on commit c5f6760

Please sign in to comment.