diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-04-29 11:14:03 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-04-29 16:27:49 +0200 |
commit | e4f673174e54f1f187ec78f5ac908a62fbeb1236 (patch) | |
tree | 13ae7f2a5a1b1294e2c525879c4867d9124d498f /src/getty-generator | |
parent | bb5049ae24991b45f2aa38d90d4f6e0f7e14d53c (diff) |
core: rework socket/service GC logic
There's no need to set the no_gc bit for service units that socket units
prepare, as we always keep a proper reference (as maintained by unit_ref_set())
on them, and such references are honoured by the GC logic anyway. Moreover,
explicitly setting the no_gc bit is problematic if the socket gets GC'ed for a
reason, as the service might then leak with the bit set.
Diffstat (limited to 'src/getty-generator')
0 files changed, 0 insertions, 0 deletions