Skip to content

fix(zone.js): handle punctuation event names in node cleanup#68932

Open
SkyZeroZx wants to merge 1 commit into
angular:mainfrom
SkyZeroZx:fix/zonejs
Open

fix(zone.js): handle punctuation event names in node cleanup#68932
SkyZeroZx wants to merge 1 commit into
angular:mainfrom
SkyZeroZx:fix/zonejs

Conversation

@SkyZeroZx
Copy link
Copy Markdown
Contributor

Widen the EventEmitter cleanup key matcher so event names are not limited to word characters before the trailing true/false marker.

This keeps the existing removeAllListeners() cleanup flow while allowing string event names that contain punctuation or Unicode characters to be matched correctly.

More context: https://issuetracker.google.com/u/1/issues/515882352

Widen the EventEmitter cleanup key matcher so event names are not limited to
word characters before the trailing true/false marker.

This keeps the existing removeAllListeners() cleanup flow while allowing string
event names that contain punctuation or Unicode characters to be matched
correctly.
@pullapprove pullapprove Bot requested a review from kirjs May 26, 2026 19:14
@angular-robot angular-robot Bot added the area: zones Issues related to zone.js label May 26, 2026
@ngbot ngbot Bot added this to the Backlog milestone May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: zones Issues related to zone.js

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant