Don't return error in WireGurad client bind

This commit is contained in:
世界 2024-02-28 15:28:30 +08:00
parent f288e3898b
commit dd52c26ae1
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -141,7 +141,6 @@ func (c *ClientBind) Close() error {
} }
select { select {
case <-c.done: case <-c.done:
return net.ErrClosed
default: default:
close(c.done) close(c.done)
} }