fix mux closing logic

pull/1524/head^2 v3.33.1
Darien Raymond 6 years ago
parent 8ed119e3f6
commit c0fc277551
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -141,7 +141,6 @@ func (m *Client) monitor() {
size := m.sessionManager.Size() size := m.sessionManager.Size()
if size == 0 && m.sessionManager.CloseIfNoSession() { if size == 0 && m.sessionManager.CloseIfNoSession() {
common.Must(m.done.Close()) common.Must(m.done.Close())
return
} }
} }
} }

Loading…
Cancel
Save