v2ray hace 9 años
padre
commit
026f17fdcc
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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