core: rerun GC logic for a unit that loses a reference
authorLennart Poettering <lennart@poettering.net>
Fri, 29 Apr 2016 09:18:53 +0000 (11:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 29 Apr 2016 14:27:49 +0000 (16:27 +0200)
commitb75102e5bf4cf249052d42be955d403e3e03b47c
tree12f76a6591a5ac4c6e8ea63504a34b9b8ac7ee4f
parente4f673174e54f1f187ec78f5ac908a62fbeb1236
core: rerun GC logic for a unit that loses a reference

Let's make sure when we drop a reference to a unit, that we run the GC queue on
it again.

This (together with the previous commit) should deal with the GC issues pointed
out in:

https://github.com/systemd/systemd/pull/2993#issuecomment-215331189
src/core/unit.c