mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 17:50:16 +01:00
manager: disconnect platform_link_cb() from NMManager in dispose()
This commit is contained in:
parent
cfe3d8bdd0
commit
3b3c5843cd
1 changed files with 4 additions and 0 deletions
|
|
@ -6392,6 +6392,10 @@ dispose (GObject *object)
|
|||
NMManager *self = NM_MANAGER (object);
|
||||
NMManagerPrivate *priv = NM_MANAGER_GET_PRIVATE (self);
|
||||
|
||||
g_signal_handlers_disconnect_by_func (priv->platform,
|
||||
G_CALLBACK (platform_link_cb),
|
||||
self);
|
||||
|
||||
g_slist_free_full (priv->auth_chains, (GDestroyNotify) nm_auth_chain_unref);
|
||||
priv->auth_chains = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue