diff --git a/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java b/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java index 64f5ed8a43..49f6ca6922 100644 --- a/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java +++ b/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java @@ -425,8 +425,6 @@ public class Http2ConnectionHandler extends ByteToMessageDecoder implements Http // Call super class first, as this may result in decode being called. super.channelInactive(ctx); if (byteDecoder != null) { - encoder.flowController().channelHandlerContext(null); - decoder.flowController().channelHandlerContext(null); byteDecoder.channelInactive(ctx); byteDecoder = null; }