Explorar el Código

clean up mux client in manager

Darien Raymond hace 8 años
padre
commit
9b1d20943f
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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()