todo sync

pull/82/head
v2ray 2016-01-30 22:50:36 +01:00
parent 6b9cb3f80d
commit 026f17fdcc
1 changed files with 1 additions and 0 deletions

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