mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-22 00:21:30 +00:00
Don't return error in WireGurad client bind
This commit is contained in:
parent
f288e3898b
commit
dd52c26ae1
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue