iface-modem-signal: Tear down refresh context upon shutdown.
This commit is contained in:

committed by
Aleksander Morgado

parent
04bf69c276
commit
fe3665b18e
@@ -541,6 +541,9 @@ mm_iface_modem_signal_initialize (MMIfaceModemSignal *self,
|
|||||||
void
|
void
|
||||||
mm_iface_modem_signal_shutdown (MMIfaceModemSignal *self)
|
mm_iface_modem_signal_shutdown (MMIfaceModemSignal *self)
|
||||||
{
|
{
|
||||||
|
/* Teardown refresh context */
|
||||||
|
teardown_refresh_context (self);
|
||||||
|
|
||||||
/* Unexport DBus interface and remove the skeleton */
|
/* Unexport DBus interface and remove the skeleton */
|
||||||
mm_gdbus_object_skeleton_set_modem_signal (MM_GDBUS_OBJECT_SKELETON (self), NULL);
|
mm_gdbus_object_skeleton_set_modem_signal (MM_GDBUS_OBJECT_SKELETON (self), NULL);
|
||||||
g_object_set (self,
|
g_object_set (self,
|
||||||
|
Reference in New Issue
Block a user