mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-09-30 07:46:41 -04:00
revert lock change
This commit is contained in:
parent
f735663364
commit
42b4764700
@ -38,8 +38,8 @@ func (this *VMessInboundHandler) Port() v2net.Port {
|
|||||||
func (this *VMessInboundHandler) Close() {
|
func (this *VMessInboundHandler) Close() {
|
||||||
this.accepting = false
|
this.accepting = false
|
||||||
if this.listener != nil {
|
if this.listener != nil {
|
||||||
this.Lock()
|
|
||||||
this.listener.Close()
|
this.listener.Close()
|
||||||
|
this.Lock()
|
||||||
this.listener = nil
|
this.listener = nil
|
||||||
this.Unlock()
|
this.Unlock()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user