mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-22 19:07:48 +08:00
Update daemon.go
This commit is contained in:
parent
e9578d3f43
commit
fa8d4e85ea
@ -354,7 +354,6 @@ func daemonFunc(req *cmds.Request, re cmds.ResponseEmitter, env cmds.Environment
|
||||
// We wait for the node to close first, as the node has children
|
||||
// that it will wait for before closing, such as the API server.
|
||||
node.Close()
|
||||
_ = coreapi.CloseFakeRepo()
|
||||
|
||||
select {
|
||||
case <-req.Context.Done():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user