fp-image-device: Clear the pending activation timeout on finalize
This commit is contained in:
parent
201b5a9614
commit
60ad1ab9e3
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue