mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-28 08:47:42 +08:00
repo is owned by node, so close the node
This commit is contained in:
@ -97,7 +97,6 @@ func daemonFunc(req cmds.Request, res cmds.Response) {
|
||||
res.SetError(debugerror.Errorf("Couldn't obtain lock. Is another daemon already running?"), cmds.ErrNormal)
|
||||
return
|
||||
}
|
||||
defer repo.Close()
|
||||
|
||||
// OK!!! Now we're ready to construct the node.
|
||||
// make sure we construct an online node.
|
||||
|
Reference in New Issue
Block a user