Skip to content

Commit

Permalink
Merge pull request #9 from 9iksans/master
Browse files Browse the repository at this point in the history
fix - remove close connection on error connection bug
  • Loading branch information
wuriyanto48 authored Jul 22, 2024
2 parents 66887e1 + c41040c commit 8d1e81f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion stash.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ func SetProtocolConn(protocol string) Option {
func (s *Stash) dial(address string) error {
conn, err := s.o.dialer.Dial(s.o.protocol, address)
if err != nil {
conn.Close()
return err
}

Expand Down

0 comments on commit 8d1e81f

Please sign in to comment.