Skip to content
Snippets Groups Projects
Commit faf7bca3 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

fixed a test

parent 74318f48
No related branches found
No related tags found
2 merge requests!18Release,!13Hotfix/connection locks
......@@ -239,6 +239,7 @@ func (h *Host) SetMetricsTesting(m *Metric, face interface{}) {
func (h *Host) Disconnect() {
h.connectionMux.Lock()
defer h.connectionMux.Unlock()
h.disconnect()
}
// ConditionalDisconnect closes a the Host connection under the write lock only
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment