good morning!!!!

Skip to content
Snippets Groups Projects
Commit 8bcddbf7 authored by Garet Halliday's avatar Garet Halliday
Browse files

aa

parent 6a784900
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,9 @@ func (T *Pool) removeRecipe(recipe *PoolRecipe) {
recipe.removed = true
for _, id := range recipe.servers {
T.raw.RemoveServer(id)
if conn := T.raw.RemoveServer(id); conn != nil {
_ = conn.Close()
}
}
recipe.servers = recipe.servers[:0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment