Skip to content

Commit 15b1e66

Browse files
anrodloseveas
authored andcommitted
See seveas#66: bind to new owner if NetworkManager restarts
1 parent dbfa159 commit 15b1e66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

NetworkManager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def __eq__(self, other):
258258
@property
259259
def proxy(self):
260260
if not self._proxy:
261-
self._proxy = dbus.SystemBus().get_object(self.dbus_service, self.object_path)
261+
self._proxy = dbus.SystemBus().get_object(self.dbus_service, self.object_path, follow_name_owner_changes=True)
262262
self._proxy.created = time.time()
263263
elif self._proxy.created < self.last_disconnect:
264264
if self.is_transient:

0 commit comments

Comments
 (0)