mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 15:10:14 +01:00
dnsmasq-manager: forget the watch when the callback hits
It removes the source, we shouldn't try to remove it on dispose() then.
This commit is contained in:
parent
bde246d30b
commit
4fe86b0031
1 changed files with 1 additions and 0 deletions
|
|
@ -202,6 +202,7 @@ dm_watch_cb (GPid pid, gint status, gpointer user_data)
|
|||
}
|
||||
|
||||
priv->pid = 0;
|
||||
priv->dm_watch_id = 0;
|
||||
|
||||
g_signal_emit (manager, signals[STATE_CHANGED], 0, NM_DNSMASQ_STATUS_DEAD);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue