Update daemon.go

This commit is contained in:
Hucg 2019-11-18 17:07:48 +08:00 committed by GitHub
parent e9578d3f43
commit fa8d4e85ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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():