mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
egismoc: avoid double finalization of cancelled tasks
This commit is contained in:
@@ -362,7 +362,7 @@ egismoc_wait_finger_ssm_done (FpiSsm *ssm,
|
|||||||
self->wait_finger_ssm = NULL;
|
self->wait_finger_ssm = NULL;
|
||||||
self->wait_finger_start = 0;
|
self->wait_finger_start = 0;
|
||||||
|
|
||||||
if (error)
|
if (error && g_strcmp0 (error->message, "Operation was cancelled") != 0)
|
||||||
fpi_device_action_error (device, error);
|
fpi_device_action_error (device, error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user