Revert "[#972] Correctly mark the ChannelPipeline once a ChannelHandler was removed and because of this a buffer was freed"
This reverts commit 4ac3bace0f
.
This commit is contained in:
parent
4ac3bace0f
commit
a25f7fa2e5
@ -626,7 +626,6 @@ final class DefaultChannelPipeline implements ChannelPipeline {
|
||||
|
||||
private void freeHandlerBuffers(ChannelHandler handler, ChannelHandlerContext ctx) {
|
||||
if (handler instanceof ChannelInboundHandler) {
|
||||
inboundBufferFreed = true;
|
||||
try {
|
||||
((ChannelInboundHandler) handler).freeInboundBuffer(ctx);
|
||||
} catch (Exception e) {
|
||||
@ -634,7 +633,6 @@ final class DefaultChannelPipeline implements ChannelPipeline {
|
||||
}
|
||||
}
|
||||
if (handler instanceof ChannelOutboundHandler) {
|
||||
outboundBufferFreed = true;
|
||||
try {
|
||||
((ChannelOutboundHandler) handler).freeOutboundBuffer(ctx);
|
||||
} catch (Exception e) {
|
||||
|
Loading…
Reference in New Issue
Block a user