Browse Source

don't release locker in abstract mode

pull/1028/merge
Darien Raymond 7 years ago
parent
commit
38de82a5d3
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
  1. 4
      transport/internet/domainsocket/listener.go

4
transport/internet/domainsocket/listener.go

@ -68,7 +68,9 @@ func (ln *Listener) Addr() net.Addr {
}
func (ln *Listener) Close() error {
ln.locker.Release()
if ln.locker != nil {
ln.locker.Release()
}
return ln.ln.Close()
}

Loading…
Cancel
Save