diff --git a/transport/http2_server.go b/transport/http2_server.go index fa998481..8b279d58 100644 --- a/transport/http2_server.go +++ b/transport/http2_server.go @@ -609,6 +609,7 @@ func (t *http2Server) closeStream(s *Stream) { t.mu.Unlock() s.mu.Lock() if s.state == streamDone { + s.mu.Unlock() return } s.state = streamDone