Correct a comment

We now kill all jobs, not just background jobs
This commit is contained in:
ridiculousfish 2016-12-20 15:49:55 -08:00
parent 9870cf838a
commit 3b50fe8b68

View file

@ -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)) {