Skip to content

Cancel context on os.Interrupt

Warren Gifford requested to merge cancel-on-interrupt into master

Created by: mrnugget

This fixes https://github.com/sourcegraph/src-cli/issues/117 by cancelling the global context when Ctrl-C is hit.

The cancelation propagates down to runAction where containers that are still running are killed.

Screen Shot 2020-03-30 at 18 00 22

Merge request reports

Loading