Skip to content

fix: cleanup listener configs on offAll#4

Open
swnb wants to merge 1 commit intomasterfrom
codex/fix-error-in-important-code-section
Open

fix: cleanup listener configs on offAll#4
swnb wants to merge 1 commit intomasterfrom
codex/fix-error-in-important-code-section

Conversation

@swnb
Copy link
Owner

@swnb swnb commented Aug 8, 2025

Summary

  • clear once handlers and configs when removing all listeners for an event
  • ensure off removes listener options to avoid stale debounce/throttle settings
  • add regression test for listener option cleanup

Testing

  • npm test

https://chatgpt.com/codex/tasks/task_e_689590258104832c8b1082e2e5199e19

@swnb
Copy link
Owner Author

swnb commented Aug 8, 2025

@cursor review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no bugs!


Bugbot free trial expires on August 22, 2025
Learn more in the Cursor dashboard.

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