mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-08 03:40:16 +01:00
manager: Disconnect from signals on the proxy when we're disposed
We're calling a callback on a proxy after it has been disposed. We should make sure to disconnect from it when we go away. https://bugzilla.gnome.org/show_bug.cgi?id=787897
This commit is contained in:
parent
15344be0e1
commit
91fa202379
1 changed files with 2 additions and 2 deletions
|
|
@ -202,8 +202,8 @@ init_dbus (NMObject *object)
|
|||
property_info);
|
||||
|
||||
/* Permissions */
|
||||
g_signal_connect (priv->proxy, "check-permissions",
|
||||
G_CALLBACK (manager_recheck_permissions), object);
|
||||
g_signal_connect_object (priv->proxy, "check-permissions",
|
||||
G_CALLBACK (manager_recheck_permissions), object, 0);
|
||||
}
|
||||
|
||||
static NMClientPermission
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue