[#907] Prevent IllegalBufferAccessException which could be triggered if inboundBufferUpdated() was called once the channel was closed
This commit is contained in:
parent
677886f470
commit
16f729cd95
@ -1065,7 +1065,9 @@ final class DefaultChannelHandlerContext extends DefaultAttributeMap implements
|
||||
next.invokeInboundBufferUpdatedTask = task = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
next.invokeInboundBufferUpdated();
|
||||
if (!next.isInboundBufferFreed()) {
|
||||
next.invokeInboundBufferUpdated();
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user