@cryptotaxi247 / kubo / commits / 084ffd97a

fix(cli) tear down node

Brian Tiger Chow committed Nov 7, 2014 at 01:51 UTC 084ffd97aaa23ee68cc1334cd81e4a3000daf0e9
1 file changed +1
cmd/ipfs2/main.go
+1
@@ -177,6 +177,7 @@ func callCommand(req cmds.Request, root *cmds.Command) cmds.Response {
177 fmt.Println(err)
178 os.Exit(1)
179 }
180 + defer node.Close()
181 req.Context().Node = node
182
183 res = root.Call(req)