]> Some of my projects - localmylist.git/commit
Just set the state in the destructor and assume the service manages to cleanup on...
authorAPTX <marek321@gmail.com>
Sun, 2 Nov 2014 16:46:56 +0000 (17:46 +0100)
committerAPTX <marek321@gmail.com>
Sun, 2 Nov 2014 16:46:56 +0000 (17:46 +0100)
commit4d95e930bc7a48ea3605671bb1f92bf216e1b6b0
tree468676c854a00a7a3e09f2857691e61b9f4b0538
parentf7aa73003ed45b3a6e5ac227499d5e43330effa2
Just set the state in the destructor and assume the service manages to cleanup on it's own.

stop/deinitialize call virtual functions which does not work in destructors.
Another option would be to require services to call some "destroy" method in their own destructor.
localmylist/service.cpp