mirror of https://github.com/v2ray/v2ray-core
revert lock change
parent
f735663364
commit
42b4764700
|
@ -38,8 +38,8 @@ func (this *VMessInboundHandler) Port() v2net.Port {
|
|||
func (this *VMessInboundHandler) Close() {
|
||||
this.accepting = false
|
||||
if this.listener != nil {
|
||||
this.Lock()
|
||||
this.listener.Close()
|
||||
this.Lock()
|
||||
this.listener = nil
|
||||
this.Unlock()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue