mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
At every action we update the device temperature, and this can potentially lead to a failure, if the temperature is too hot. However in such case we were failing a task that we had just stolen, causing an error, tasks never returning and the device was left in an undefined state. So, just return early in case temperature is too hot, as we don't really need to have the current task or action set at this point because there's no active action to cancel yet. This was causing random errors when running tests under valgrind
130 KiB
130 KiB