Skip to content

fix(zone.js): patch nodejs EventEmtter.prototype.off#37863

Closed
JiaLiPassion wants to merge 1 commit intoangular:masterfrom
JiaLiPassion:nodejs-off
Closed

fix(zone.js): patch nodejs EventEmtter.prototype.off#37863
JiaLiPassion wants to merge 1 commit intoangular:masterfrom
JiaLiPassion:nodejs-off

Conversation

@JiaLiPassion
Copy link
Copy Markdown
Contributor

Close #35473

zone.js nodejs patch should also patch EventEmtter.prototype.off.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: 35473

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@JiaLiPassion JiaLiPassion added area: zones Issues related to zone.js target: patch This PR is targeted for the next patch release labels Jul 1, 2020
@ngbot ngbot Bot added this to the needsTriage milestone Jul 1, 2020
@JiaLiPassion JiaLiPassion requested a review from mhevery July 1, 2020 03:52
Close angular#35473

zone.js nodejs patch should also patch `EventEmitter.prototype.off` as `removeListener`.
So `off` can correctly remove the listeners added by `EventEmitter.prototype.addListener`
@mhevery
Copy link
Copy Markdown
Contributor

mhevery commented Jul 15, 2020

presubmit

@mhevery mhevery added the action: merge The PR is ready for merge by the caretaker label Jul 24, 2020
mhevery pushed a commit that referenced this pull request Jul 24, 2020
Close #35473

zone.js nodejs patch should also patch `EventEmitter.prototype.off` as `removeListener`.
So `off` can correctly remove the listeners added by `EventEmitter.prototype.addListener`

PR Close #37863
@mhevery mhevery closed this in 1822cbc Jul 24, 2020
Splaktar pushed a commit to angular-hispano/angular that referenced this pull request Aug 8, 2020
Close angular#35473

zone.js nodejs patch should also patch `EventEmitter.prototype.off` as `removeListener`.
So `off` can correctly remove the listeners added by `EventEmitter.prototype.addListener`

PR Close angular#37863
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Aug 24, 2020
profanis pushed a commit to profanis/angular that referenced this pull request Sep 5, 2020
Close angular#35473

zone.js nodejs patch should also patch `EventEmitter.prototype.off` as `removeListener`.
So `off` can correctly remove the listeners added by `EventEmitter.prototype.addListener`

PR Close angular#37863
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: zones Issues related to zone.js cla: yes target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Zone.js should patch EventEmitter.prototype.off

3 participants