Commit 084ffd97 authored by Brian Tiger Chow's avatar Brian Tiger Chow Committed by Juan Batiz-Benet

fix(cli) tear down node

parent 440c90be
......@@ -177,6 +177,7 @@ func callCommand(req cmds.Request, root *cmds.Command) cmds.Response {
fmt.Println(err)
os.Exit(1)
}
defer node.Close()
req.Context().Node = node
res = root.Call(req)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment