1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-30 05:56:54 -05:00

close udp hub

This commit is contained in:
v2ray 2016-01-28 21:30:46 +01:00
parent dde3f60e30
commit 795c49b6fb

View File

@ -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 {