Skip to content

Fix alarm cancel and trigger time drift

Compare
Choose a tag to compare
@agonper agonper released this 19 Dec 18:21
· 126 commits to master since this release

This release introduces no breaking changes

Bug fixes:

  • When two tasks were going to be executed by the same alarm trigger and one of them is cancelled before that happening, the alarm was rescheduled without needing it, thus delaying the execution of the other task(s)
  • The amount of time passed between the alarm trigger and the execution of each task (~100ms, depending on the device) was not being taken into account while updating planned task's last execution time. This was inducing a time drift over time