]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: do not GC units/jobs that are in the D-Bus queue 27968/head
authorLennart Poettering <lennart@poettering.net>
Thu, 8 Jun 2023 09:11:49 +0000 (11:11 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 8 Jun 2023 09:16:26 +0000 (11:16 +0200)
commitaf05bb971731fe7280e4e85fde71c2e671772c18
tree0463b3be2fedd9b574f30f8b11d6c6be2fd251ba
parent935f80428fd3220c83163cc4b5a637873e68babb
core: do not GC units/jobs that are in the D-Bus queue

Let's make sure that D-Bus messages are always sent out when pending,
before we might GC a unit/job.

This is kinda a follow-up for 8db998981a4fefd0122bcf5f965726b63c9045c2,
and a similar logic really applies: GC should only be done if we
processed everything else, generated evertyhing else and really don't
need it anymore.
src/core/dbus-job.c
src/core/dbus-unit.c
src/core/job.c
src/core/unit.c