mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-01-09 13:30:21 +01:00
virtual-device: Reset transient parameters on deinit
Tests may change some options so we need to reset these values, even though some may need not to be reserved when not in keep-alive mode.
This commit is contained in:
parent
28579239a6
commit
0819df6988
1 changed files with 7 additions and 1 deletions
|
|
@ -733,7 +733,13 @@ dev_deinit (FpDevice *dev)
|
|||
}
|
||||
|
||||
if (!self->keep_alive)
|
||||
stop_listener (self);
|
||||
{
|
||||
stop_listener (self);
|
||||
self->supports_cancellation = TRUE;
|
||||
}
|
||||
|
||||
self->enroll_stages_passed = 0;
|
||||
self->match_reported = FALSE;
|
||||
|
||||
fpi_device_close_complete (dev, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue