From a25f7fa2e5207a83413c2c4b07cd960c03bfda2c Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Wed, 23 Jan 2013 06:45:44 +0100 Subject: [PATCH] Revert "[#972] Correctly mark the ChannelPipeline once a ChannelHandler was removed and because of this a buffer was freed" This reverts commit 4ac3bace0f0578f8b84b3d3a2334d36448447f37. --- .../src/main/java/io/netty/channel/DefaultChannelPipeline.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java b/transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java index e508400030..fee544b217 100755 --- a/transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java +++ b/transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java @@ -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) {