-
Handle ipfs command interruption by cancelling the command context · cf6a268c
Instead of assuming the command is the daemon command and closing the node, which resulted in bugs like #1053, we cancel the context and let the context children detect the cancellation and gracefully clean up after themselves. The shutdown logging has been moved into the daemon command, where it makes more sense, so that commands like ping will not print out the same output on cancellation.
由 Tor Arne Vestbø 提交于cf6a268c
×