Skip to content

Conversation

seratch
Copy link
Member

@seratch seratch commented Sep 3, 2025

Summary

  • allow BrowserEventEmitter to maintain multiple wrappers per listener so repeated registrations behave like Node's EventEmitter
  • clean up every wrapper when off is called to avoid leaking listeners
  • add a regression test that covers duplicate registration semantics

Testing

  • pnpm -F agents-core test

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

Copy link

changeset-bot bot commented Sep 3, 2025

⚠️ No Changeset found

Latest commit: 547badb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@seratch seratch merged commit 2a71a4f into codex/fix-browsereventemitter.off-issue Sep 3, 2025
4 checks passed
@seratch seratch deleted the codex/fix-comments branch September 3, 2025 22:41
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