[#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() {
|
next.invokeInboundBufferUpdatedTask = task = new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
next.invokeInboundBufferUpdated();
|
if (!next.isInboundBufferFreed()) {
|
||||||
|
next.invokeInboundBufferUpdated();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user