Skip to content

Commit

Permalink
Removing unnecessary change to http2_server
Browse files Browse the repository at this point in the history
  • Loading branch information
MakMukhi committed Mar 14, 2017
1 parent 6b28425 commit 5535384
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion transport/http2_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,6 @@ func (t *http2Server) closeStream(s *Stream) {
// goroutines (e.g., bi-directional streaming), cancel needs to be
// called to interrupt the potential blocking on other goroutines.
s.cancel()

s.mu.Lock()
if q := s.fc.resetPendingData(); q > 0 {
if w := t.fc.onRead(q); w > 0 {
Expand Down

0 comments on commit 5535384

Please sign in to comment.