Purpose of the call this statement "if(indev_reset_check(indev)) return"

If we look at the code in the lv_indev.c file, after performing lv_obj_send_event(), return is determined through indev_reset_check, as shown below. I don’t understand this code.


lv_obj_send_event(hovered, LV_EVENT_HOVER_OVER, indev);
if(indev_reset_check(indev)) return;
lv_indev_send_event(indev, LV_EVENT_HOVER_OVER, hovered);
if(indev_reset_check(indev)) return;

Does anyone know why the code below is added?

if(indev_reset_check(indev)) return;