* Stop the cron task and remove a job from the map (does NOT persist).
(id: string)
| 534 | // Internal helpers |
| 535 | // ------------------------------------------------------------------------- |
| 536 | |
| 537 | /** |
| 538 | * Stop the cron task and remove a job from the map (does NOT persist). |
| 539 | */ |
| 540 | private removeFromMap(id: string): void { |
| 541 | const existing = this.jobs.get(id); |
| 542 | if (existing) { |
| 543 | existing.task?.stop(); |
| 544 | this.jobs.delete(id); |
| 545 | } |
no test coverage detected