v0.19.11
Bug Fixes
- Fixed a bug where scheduled cron items (e.g. recurring monthly automations) could fire twice simultaneously and spawn runaway duplicate threads. This happened when a plugin reload occurred while the previous session was still shutting down: a brief window let the old scheduler's timers stay alive alongside a freshly constructed one, so both instances independently fired the same due item and kept re-arming themselves. The scheduler is now torn down synchronously as the very first step of shutdown, with two additional safety checks (a fencing check against on-disk state, and an in-process reentrancy guard) to prevent any recurrence even under unusual timing. (#306)
Full diff: v0.19.10...v0.19.11