[#1895] Fix IllegalStateException which was produced during failing ChunkedWrite after the channel was closed
This commit is contained in:
parent
8864792499
commit
cd2eaebd92
@ -351,7 +351,7 @@ public class ChunkedWriteHandler
|
|||||||
void fail(Throwable cause) {
|
void fail(Throwable cause) {
|
||||||
ReferenceCountUtil.release(msg);
|
ReferenceCountUtil.release(msg);
|
||||||
if (promise != null) {
|
if (promise != null) {
|
||||||
promise.setFailure(cause);
|
promise.tryFailure(cause);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user