diff --git a/proxy/shadowsocks/shadowsocks.go b/proxy/shadowsocks/shadowsocks.go index 992dcf7d..57b2c08b 100644 --- a/proxy/shadowsocks/shadowsocks.go +++ b/proxy/shadowsocks/shadowsocks.go @@ -32,6 +32,9 @@ func (this *Shadowsocks) Close() { this.accepting = false this.tcpHub.Close() this.tcpHub = nil + + this.udpHub.Close() + this.udpHub = nil } func (this *Shadowsocks) Listen(port v2net.Port) error {