Tiny optimization
This commit is contained in:
parent
16f729cd95
commit
2c7be32393
@ -1084,7 +1084,7 @@ final class DefaultChannelHandlerContext extends DefaultAttributeMap implements
|
||||
} catch (Throwable t) {
|
||||
pipeline.notifyHandlerException(t);
|
||||
} finally {
|
||||
if (handler instanceof ChannelInboundByteHandler && !isInboundBufferFreed()) {
|
||||
if (handler instanceof ChannelInboundByteHandler && !inboundByteBuffer().isFreed()) {
|
||||
try {
|
||||
((ChannelInboundByteHandler) handler).discardInboundReadBytes(this);
|
||||
} catch (Throwable t) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user