v2ray 9 anos atrás
pai
commit
026f17fdcc
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      proxy/shadowsocks/shadowsocks.go

+ 1 - 0
proxy/shadowsocks/shadowsocks.go

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