{
if (array[i].desc == EFL_LOOP_FD_EVENT_READ)
{
- if (fd->references.read++ > 0) continue;
+ if (fd->references.read-- > 0) continue;
_efl_loop_fd_reset(event->object, fd);
}
else if (array[i].desc == EFL_LOOP_FD_EVENT_WRITE)
{
- if (fd->references.write++ > 0) continue;
+ if (fd->references.write-- > 0) continue;
_efl_loop_fd_reset(event->object, fd);
}
if (array[i].desc == EFL_LOOP_FD_EVENT_ERROR)
{
- if (fd->references.error++ > 0) continue;
+ if (fd->references.error-- > 0) continue;
_efl_loop_fd_reset(event->object, fd);
}
}