Commit 323fd6cf authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

Merge pull request #1478 from ipfs/fix/slow-stop

making the daemon shutdown quicker
parents 10b8d571 088143a4
......@@ -140,6 +140,8 @@ func (mq *msgQueue) runQueue(ctx context.Context) {
mq.doWork(ctx)
case <-mq.done:
return
case <-ctx.Done():
return
}
}
}
......
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