-
Remove daemon InitDone guard in interrupt handler · bfd12114
Instead of just terminating right there and then, we cancel the context, and let the daemon exit cleanly. This make take a few seconds, as the node builder and its child processes do not care too much about the context state while building nodes, but this can be improved by injecting checks for ctx.Done() before time-consuming steps.
由 Tor Arne Vestbø 提交于bfd12114
×