1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-29 18:45:23 +00:00

revert lock change

This commit is contained in:
v2ray 2016-01-22 17:56:19 +01:00
parent f735663364
commit 42b4764700

View File

@ -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()
}