Explorar o código

clean up mux client in manager

Darien Raymond %!s(int64=8) %!d(string=hai) anos
pai
achega
9b1d20943f
Modificáronse 1 ficheiros con 2 adicións e 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()