mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-04 17:27:23 -05:00
clean up mux client in manager
This commit is contained in:
parent
d10445d49a
commit
9b1d20943f
@ -172,6 +172,8 @@ func (m *Client) monitor() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (m *Client) cleanup() {
|
func (m *Client) cleanup() {
|
||||||
|
defer m.manager.onClientFinish()
|
||||||
|
|
||||||
m.access.Lock()
|
m.access.Lock()
|
||||||
defer m.access.Unlock()
|
defer m.access.Unlock()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user