Skip to content

Add teardown support to schedule options module#95

Merged
Brian-S-Poon merged 1 commit into
mainfrom
codex/add-destroy-function-to-schedule.js
Nov 15, 2025
Merged

Add teardown support to schedule options module#95
Brian-S-Poon merged 1 commit into
mainfrom
codex/add-destroy-function-to-schedule.js

Conversation

@Brian-S-Poon
Copy link
Copy Markdown
Owner

Summary

  • add a destroy helper to the options schedule module to clear timers and expose it for consumers
  • ensure reinitialization calls the teardown so timers do not linger between runs
  • add tests that stub the options DOM and assert the teardown clears scheduled work

Testing

  • npm test

Codex Task

@Brian-S-Poon Brian-S-Poon merged commit ec2be76 into main Nov 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant