good morning!!!!

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

probably

parent 0f767d5e
Loading
Pipeline #66397 passed with stages
in 7 minutes and 31 seconds
......@@ -275,6 +275,7 @@ func (T *Chef) Burn(conn *fed.Conn) {
if !ok {
return
}
r.recipe.Free()
_ = conn.Close()
delete(T.byConn, conn)
......@@ -318,8 +319,11 @@ func (T *Chef) Close() {
maps.Clear(T.byName)
T.order = T.order[:0]
for conn := range T.byConn {
for conn, r := range T.byConn {
r.recipe.Free()
_ = conn.Close()
delete(T.byConn, conn)
delete(r.conns, conn)
}
}
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