Skip to content

Commit

Permalink
Merge pull request #135 from alraujo/unnecessary-instruction
Browse files Browse the repository at this point in the history
Remove unnecessary instruction
  • Loading branch information
Zerpet authored Nov 25, 2022
2 parents 86bd795 + 0ef7133 commit 3476abc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,6 @@ func (c *Connection) shutdown(err *Error) {
for _, c := range c.closes {
c <- err
}
}

if err != nil {
c.errors <- err
}
// Shutdown handler goroutine can still receive the result.
Expand Down

0 comments on commit 3476abc

Please sign in to comment.