1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00

clean up mux client in manager

This commit is contained in:
Darien Raymond 2017-04-05 14:24:15 +02:00
parent d10445d49a
commit 9b1d20943f
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -172,6 +172,8 @@ func (m *Client) monitor() {
}
func (m *Client) cleanup() {
defer m.manager.onClientFinish()
m.access.Lock()
defer m.access.Unlock()