mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-11 04:26:02 +00:00
fixes for mutex usage
This commit is contained in:
1 parent
59a5f832f6
commit
4271e619fe
4 files changed
+10
No files matched your search
@@ -56,7 +56,9 @@ func (this *VMessInboundHandler) Listen(port v2net.Port) error {
|
||||
return err
|
||||
}
|
||||
this.accepting = true
|
||||
this.Lock()
|
||||
this.listener = listener
|
||||
this.Unlock()
|
||||
go this.AcceptConnections()
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user