Commit 8cb81dd
committed
shutdown: terminate subprocesses
* We use a subprocess pool for running backgorund commands
(e.g. `cylc clean`).
* This creates subprocesses to run our commands in, however, it does
not kill the subprocess once the command has completed, it keeps
the subprocess open for future reuse (more efficient than creating
and destroying them every time).
* On shutdown we need to close the pool to mop up these subprocesses
(this doesn't happen automatically).1 parent 6d95887 commit 8cb81dd
2 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
| 583 | + | |
| 584 | + | |
583 | 585 | | |
584 | 586 | | |
585 | | - | |
| 587 | + | |
| 588 | + | |
586 | 589 | | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
587 | 594 | | |
588 | 595 | | |
589 | 596 | | |
0 commit comments