Skip to content

Commit

Permalink
Close: caller owns the connection, so leave closing to caller
Browse files Browse the repository at this point in the history
  • Loading branch information
esiqveland authored Feb 9, 2020
1 parent 1a7bd4c commit edbefef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notification.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,6 @@ func (n *notifier) Close() error {
close(n.closer)
close(n.action)
close(n.done)
err := n.conn.Close()
return err

return nil
}

0 comments on commit edbefef

Please sign in to comment.