26 lines
859 B
Diff
26 lines
859 B
Diff
From 60ad1ab9e3e5ecc1fe7bf390a2cec2e662dfd567 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
|
|
Date: Fri, 22 Nov 2019 13:08:33 +0100
|
|
Subject: [PATCH 017/181] fp-image-device: Clear the pending activation timeout
|
|
on finalize
|
|
|
|
---
|
|
libfprint/fp-image-device.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/libfprint/fp-image-device.c b/libfprint/fp-image-device.c
|
|
index 44de578..9aa9e1f 100644
|
|
--- a/libfprint/fp-image-device.c
|
|
+++ b/libfprint/fp-image-device.c
|
|
@@ -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);
|
|
}
|
|
--
|
|
2.24.1
|
|
|