1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 09:36:34 -05:00

todo sync

This commit is contained in:
v2ray 2016-01-30 22:50:36 +01:00
parent 6b9cb3f80d
commit 026f17fdcc

View File

@ -32,6 +32,7 @@ func (this *Shadowsocks) Port() v2net.Port {
func (this *Shadowsocks) Close() {
this.accepting = false
// TODO: synchronization
if this.tcpHub != nil {
this.tcpHub.Close()
this.tcpHub = nil