Parcourir la source

clean up mux client in manager

Darien Raymond il y a 8 ans
Parent
commit
9b1d20943f
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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()