From 9b1d20943f6428e44601f42198029f5a644bd226 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Wed, 5 Apr 2017 14:24:15 +0200 Subject: [PATCH] clean up mux client in manager --- app/proxyman/mux/mux.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/proxyman/mux/mux.go b/app/proxyman/mux/mux.go index 5d0c7e04..687fe790 100644 --- a/app/proxyman/mux/mux.go +++ b/app/proxyman/mux/mux.go @@ -172,6 +172,8 @@ func (m *Client) monitor() { } func (m *Client) cleanup() { + defer m.manager.onClientFinish() + m.access.Lock() defer m.access.Unlock()