v2ray 9 vuotta sitten
vanhempi
commit
026f17fdcc
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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