breejs / bree

Bree is a Node.js and JavaScript job task scheduler with worker threads, cron, Date, and human syntax. Built for @ladjs, @forwardemail, @spamscanner, @cabinjs.
https://jobscheduler.net
MIT License
3.06k stars 79 forks source link

timeout and interval as schedule timeout is never deleted #82

Closed shadowgate15 closed 3 years ago

shadowgate15 commented 3 years ago

Not sure what we originally intended but... currently if timeout and interval are schedules, timeout is never deleted but it is only called the one time?

shadowgate15 commented 3 years ago

actually this happens with all timeouts.

shadowgate15 commented 3 years ago

nevermind... I was checking in the wrong place...

however, we should still explicitly delete the timeout after it fires