diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-11-23 20:15:48 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-11-23 21:47:48 +0100 |
commit | 371c0b794e8e677bf792db392991ade30c48245c (patch) | |
tree | ff7ce29cb0f6d60e4dec65ef331b9721c75d1086 /src/core/scope.h | |
parent | f2c49c86582300e5fadc0297b29230d4caa1d8fa (diff) | |
download | systemd-371c0b794e8e677bf792db392991ade30c48245c.tar.gz |
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.
Diffstat (limited to 'src/core/scope.h')
-rw-r--r-- | src/core/scope.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/scope.h b/src/core/scope.h index 7e8c47dd42..ca7c6c868f 100644 --- a/src/core/scope.h +++ b/src/core/scope.h @@ -46,6 +46,8 @@ struct Scope { usec_t timeout_stop_usec; char *controller; + sd_bus_track *controller_track; + bool was_abandoned; sd_event_source *timer_event_source; |