fp-image-device: Clear the pending activation timeout on finalize

This commit is contained in:
Marco Trevisan (Treviño) 2019-11-22 13:08:33 +01:00
parent 201b5a9614
commit 60ad1ab9e3

View file

@ -278,6 +278,7 @@ fp_image_device_finalize (GObject *object)
FpImageDevicePrivate *priv = fp_image_device_get_instance_private (self);
g_assert (priv->active == FALSE);
g_clear_handle_id (&priv->pending_activation_timeout_id, g_source_remove);
G_OBJECT_CLASS (fp_image_device_parent_class)->finalize (object);
}