summaryrefslogtreecommitdiff
path: root/libnm
diff options
context:
space:
mode:
Diffstat (limited to 'libnm')
-rw-r--r--libnm/nm-client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnm/nm-client.c b/libnm/nm-client.c
index 7835d18ff..8912a5f41 100644
--- a/libnm/nm-client.c
+++ b/libnm/nm-client.c
@@ -2577,6 +2577,7 @@ name_owner_changed (GObject *object, GParamSpec *pspec, gpointer user_data)
nm_assert (object_manager == priv->object_manager);
if (_om_has_name_owner (object_manager)) {
+ g_signal_handlers_disconnect_by_data (priv->object_manager, self);
g_clear_object (&priv->object_manager);
nm_clear_g_cancellable (&priv->new_object_manager_cancellable);
priv->new_object_manager_cancellable = g_cancellable_new ();