Re: [PATCH] devices/wwan: Stop PPP manager in deactivate_cleanup()

2018-05-18 Thread Thomas Haller
On Thu, 2018-05-17 at 17:33 +0200, Frederic Danis wrote: > When ModemManager exits, pppd is not killed due to nm_exported_object > not > unexported (ppp_manager refcount = 2). > Call to nm_ppp_manager_stop_sync() allows to correctly clean > ppp_manager > before calling g_clear_object(), as this is

[PATCH] devices/wwan: Stop PPP manager in deactivate_cleanup()

2018-05-17 Thread Frederic Danis
When ModemManager exits, pppd is not killed due to nm_exported_object not unexported (ppp_manager refcount = 2). Call to nm_ppp_manager_stop_sync() allows to correctly clean ppp_manager before calling g_clear_object(), as this is done in nm-device-ethernet.c and nm-device-adsl.c. https://bugzilla.