Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a race condition when unscheduling jobs that trigger immediately
This fixes an edge case where a scheduled job that triggers immediately after it's scheduled can end up trying to unschedule itself before it was added to the currentJobs map, resulting in a partial unscheduling and subsequent calls to unschedule returning true instead of false.
- Loading branch information