Skip to content

Commit

Permalink
remove now-redundant finish() call
Browse files Browse the repository at this point in the history
  • Loading branch information
dfawley committed May 18, 2021
1 parent b07e264 commit 0403653
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/transport/controlbuf.go
Expand Up @@ -407,7 +407,6 @@ func (c *controlBuffer) get(block bool) (interface{}, error) {
select {
case <-c.ch:
case <-c.done:
c.finish()
return nil, ErrConnClosing
}
}
Expand Down

0 comments on commit 0403653

Please sign in to comment.