commit | b52d6ff3a1cd6a9f3dc0adeb7b1286bab1b28afc | [log] [tgz] |
---|---|---|
author | Thieu Le <thieule@chromium.org> | Wed Nov 02 18:21:51 2011 +0000 |
committer | Thieu Le <thieule@chromium.org> | Wed Nov 02 14:53:30 2011 -0700 |
tree | 0a6ae900f474ca8579031ae940c34d645df6e3b0 | |
parent | c2350ee42c6734750ef8a57bae20f23a224cbc53 [diff] |
shill: Move destruction of DBusControl object to AtExitManager Some singleton objects (eg. DHCPProvider) accesses DBus in their destructors which are called by AtExitManager. We need to move the destruction of the DBusControl object to AtExitManager as well to ensure that it is destroyed after the singletons. BUG=chromium-os:22389 TEST=Unit tests, manually cause shill to exit to ensure no crash Change-Id: I2df27ff3c109457713be1a994b70a904c5f2d0f6 Reviewed-on: https://gerrit.chromium.org/gerrit/11067 Reviewed-by: mukesh agrawal <quiche@chromium.org> Tested-by: Thieu Le <thieule@chromium.org> Commit-Ready: Thieu Le <thieule@chromium.org>