diff --git a/src/cowboy_http2.erl b/src/cowboy_http2.erl index 3d91c029..f64592c7 100644 --- a/src/cowboy_http2.erl +++ b/src/cowboy_http2.erl @@ -753,7 +753,6 @@ terminate_stream(State=#state{streams=Streams0, children=Children0}, StreamID, R State end. -%% @todo Maybe put State first. terminate_stream_handler(#state{opts=Opts}, StreamID, Reason, StreamState) -> try cowboy_stream:terminate(StreamID, Reason, StreamState)