mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-12 13:25:23 +08:00
Correct a comment
We now kill all jobs, not just background jobs
This commit is contained in:
parent
9870cf838a
commit
3b50fe8b68
@ -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…
x
Reference in New Issue
Block a user