Browse Source

clean up mux client in manager

Darien Raymond 8 năm trước cách đây
mục cha
commit
9b1d20943f
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      app/proxyman/mux/mux.go

+ 2 - 0
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()