summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/shill_manager_client.cc
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-04 21:50:47 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-04 21:50:47 +0000
commit19853e39a6dbf6ce1a1d8fb8015754832d4d409e (patch)
treec13083fc801b9d4278dcf6d6f2163706e5e0f915 /chromeos/dbus/shill_manager_client.cc
parent694498e8de96b8ed22c4cdca26370d66ab0d6dfc (diff)
downloadchromium_src-19853e39a6dbf6ce1a1d8fb8015754832d4d409e.zip
chromium_src-19853e39a6dbf6ce1a1d8fb8015754832d4d409e.tar.gz
chromium_src-19853e39a6dbf6ce1a1d8fb8015754832d4d409e.tar.bz2
Track active references in ShillClientHelper (Take 2)
To prevent Shill Service DBus ObjectProxy instances from accumulating, remove them when the service becomes inactive. Original CL: https://codereview.chromium.org/23658053/ BUG=223483 TBR=hashimoto@chromium.org Review URL: https://codereview.chromium.org/24558004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227100 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/shill_manager_client.cc')
-rw-r--r--chromeos/dbus/shill_manager_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromeos/dbus/shill_manager_client.cc b/chromeos/dbus/shill_manager_client.cc
index f3cd1bb..cae9b68 100644
--- a/chromeos/dbus/shill_manager_client.cc
+++ b/chromeos/dbus/shill_manager_client.cc
@@ -219,7 +219,7 @@ class ShillManagerClientImpl : public ShillManagerClient {
virtual void Init(dbus::Bus* bus) OVERRIDE {
proxy_ = bus->GetObjectProxy(shill::kFlimflamServiceName,
dbus::ObjectPath(shill::kFlimflamServicePath));
- helper_.reset(new ShillClientHelper(bus, proxy_));
+ helper_.reset(new ShillClientHelper(proxy_));
helper_->MonitorPropertyChanged(shill::kFlimflamManagerInterface);
}