mirror of
https://github.com/morgan9e/libfprint-fpc1020
synced 2026-04-14 00:14:16 +09:00
egismoc: clear task pointers also after dev_init_done
This commit is contained in:
committed by
Marco Trevisan (Treviño)
parent
6767cd1a4f
commit
591f9ad3cf
@@ -1367,9 +1367,15 @@ egismoc_dev_init_done (FpiSsm *ssm,
|
||||
GError *error)
|
||||
{
|
||||
if (error)
|
||||
g_usb_device_release_interface (fpi_device_get_usb_device (device), 0, 0, NULL);
|
||||
{
|
||||
g_usb_device_release_interface (
|
||||
fpi_device_get_usb_device (device), 0, 0, NULL);
|
||||
egismoc_task_ssm_done (ssm, device, error);
|
||||
return;
|
||||
}
|
||||
|
||||
fpi_device_open_complete (device, error);
|
||||
egismoc_task_ssm_done (ssm, device, NULL);
|
||||
fpi_device_open_complete (device, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user