diff --git a/stash.go b/stash.go index 7a9aee1..eb8cab5 100644 --- a/stash.go +++ b/stash.go @@ -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 }