mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
todo sync
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user