mirror of https://github.com/v2ray/v2ray-core
clean up mux client in manager
parent
d10445d49a
commit
9b1d20943f
|
@ -172,6 +172,8 @@ func (m *Client) monitor() {
|
|||
}
|
||||
|
||||
func (m *Client) cleanup() {
|
||||
defer m.manager.onClientFinish()
|
||||
|
||||
m.access.Lock()
|
||||
defer m.access.Unlock()
|
||||
|
||||
|
|
Loading…
Reference in New Issue