diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-02-24 03:23:14 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-02-24 03:23:14 +0100 |
commit | c77bc38d28b2da11dcd219635205e633b5c0cd28 (patch) | |
tree | ba5e6a8f06d755a8752dcf8245ca140b3a807050 /src/manager.c | |
parent | 312732cfaf63b463b2062c47fddb2d639a5fe635 (diff) |
job: when cancelling jobs, make sure to propagate this properly to depending jobs
Diffstat (limited to 'src/manager.c')
-rw-r--r-- | src/manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager.c b/src/manager.c index f266aaa01c..d77dc09617 100644 --- a/src/manager.c +++ b/src/manager.c @@ -1823,7 +1823,7 @@ void manager_clear_jobs(Manager *m) { transaction_abort(m); while ((j = hashmap_first(m->jobs))) - job_free(j); + job_finish_and_invalidate(j, JOB_CANCELED); } unsigned manager_dispatch_run_queue(Manager *m) { |