mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-07 13:20:27 +01:00
settings: clean up signal handlers when destroying connections
Otherwise we might get crashes later.
This commit is contained in:
parent
30c63ddcb7
commit
2bcd4016b4
1 changed files with 2 additions and 0 deletions
|
|
@ -1424,6 +1424,8 @@ dispose (GObject *object)
|
|||
|
||||
set_visible (self, FALSE);
|
||||
|
||||
if (priv->session_changed_id)
|
||||
g_signal_handler_disconnect (priv->session_monitor, priv->session_changed_id);
|
||||
g_object_unref (priv->session_monitor);
|
||||
g_object_unref (priv->agent_mgr);
|
||||
g_object_unref (priv->dbus_mgr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue