]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/service: drop unneeded unit_add_to_gc_queue() 36368/head
authorMike Yuan <me@yhndnzj.com>
Wed, 12 Feb 2025 16:38:47 +0000 (17:38 +0100)
committerMike Yuan <me@yhndnzj.com>
Wed, 12 Feb 2025 16:54:34 +0000 (17:54 +0100)
commit818315ae61370998a4df7b92d89c338c9442c6df
tree73b774592047805b0c7a356f14624fcacb0a4d18
parent468e87267f08faa3064a16958a1a68d9cd2ea9c9
core/service: drop unneeded unit_add_to_gc_queue()

Follow-up for a1d315730ffddf283d4bb9d73878fbcd97a4d244
and 6ac62d61db737b01ad3776a7688d8a4c57b3f7d9

With the aforementioned commits, unit_release_resources()
is dispatched in a dedicated queue, and Service.n_keep_fd_store
has been dropped, hence the comment is outdated. Moreover,
the unit is added to GC queue in unit_notify() already.
No other unit types do this in corresponding _enter_dead()
functions, nor does Service need it anymore.
src/core/service.c