1
0
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:
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() { func (m *Client) cleanup() {
defer m.manager.onClientFinish()
m.access.Lock() m.access.Lock()
defer m.access.Unlock() defer m.access.Unlock()