]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/dbus-scope.c
core: track scope controllers on the bus 7442/head
authorLennart Poettering <lennart@poettering.net>
Thu, 23 Nov 2017 19:15:48 +0000 (20:15 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Nov 2017 20:47:48 +0000 (21:47 +0100)
commit371c0b794e8e677bf792db392991ade30c48245c
treeff7ce29cb0f6d60e4dec65ef331b9721c75d1086
parentf2c49c86582300e5fadc0297b29230d4caa1d8fa
core: track scope controllers on the bus

This watches controllers on the bus, and unsets them automatically when
they disappear.

Note that this is primarily a cosmetical fix. Since unique bus names are not
recycled, there's strictly no need to forget about them, but it's a lot
nicer to do so.
src/core/dbus-scope.c
src/core/dbus-scope.h
src/core/scope.c
src/core/scope.h