mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 08:10:22 +01:00
ppp: fix cancelling timeout when pppd process exits
Otherwise, we get pppd_timed_out() later, which will emit a DEAD state change at unexpected times.
This commit is contained in:
parent
250e723951
commit
b9af32b056
1 changed files with 1 additions and 0 deletions
|
|
@ -643,6 +643,7 @@ ppp_watch_cb (GPid pid, int status, gpointer user_data)
|
|||
|
||||
priv->pid = 0;
|
||||
priv->ppp_watch_id = 0;
|
||||
_ppp_cleanup (manager);
|
||||
g_signal_emit (manager, signals[STATE_CHANGED], 0, (guint) NM_PPP_STATUS_DEAD);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue