Rework acquire/release handling.
authorDavin McCall <davmac@davmac.org>
Wed, 29 Mar 2017 15:59:52 +0000 (16:59 +0100)
committerDavin McCall <davmac@davmac.org>
Wed, 29 Mar 2017 15:59:52 +0000 (16:59 +0100)
commitef9652ba98d536ac22bc64e010a3b1abc0922f5d
treef1c4755fe27ec5a88b56c8f8f156b3dfcd297bf6
parent3a39fd1e010580d0e7b7aaf385cf21d86e86dbaf
Rework acquire/release handling.

Now a service that is released releases its own dependencies immediately,
instead of after it stops. This prevents those dependencies from restarting
unnecessarily if they die/are killed in the meantime.
TODO
src/service.cc
src/service.h