mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 21:03:12 +00:00
Correct a comment
We now kill all jobs, not just background jobs
This commit is contained in:
parent
9870cf838a
commit
3b50fe8b68
1 changed files with 1 additions and 1 deletions
|
@ -2251,7 +2251,7 @@ static void handle_end_loop() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Kill background jobs before exiting.
|
// Kill remaining jobs before exiting.
|
||||||
jobs.reset();
|
jobs.reset();
|
||||||
while (job_t *j = jobs.next()) {
|
while (job_t *j = jobs.next()) {
|
||||||
if (!job_is_completed(j)) {
|
if (!job_is_completed(j)) {
|
||||||
|
|
Loading…
Reference in a new issue