commit | 8c21b354da6dddb11dda6f5c0631a88710331da2 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Wed Jan 20 16:38:33 2016 -0800 |
committer | Alex Deymo <deymo@google.com> | Thu Jan 21 14:59:59 2016 -0800 |
tree | 29193a4ff0807bdeceab23a77d6e70f0c5a6ba4a | |
parent | a91cc489d2754563cc3776a2d53543b890ab6f22 [diff] |
Move current daemon destruction logic to RealSystemState. The UpdateAttempter requires to release the dbus_adaptor pointer before detruction to avoid sending messages over a dead DBus connection. This patch moves this logic out of the UpdateEngineDaemon class. Bug: None TEST=mm; Tested on Brillo. Change-Id: I8939c5a2940f435e2e8f574910e0fa2674dc725f