mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 04:00:17 +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.
(cherry picked from commit 4fe86b0031)
This commit is contained in:
parent
e88161172e
commit
e19d5519ca
1 changed files with 1 additions and 0 deletions
|
|
@ -203,6 +203,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