Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

events: fix bug listenerCount don't compare wrapped listener #48592

Merged
merged 2 commits into from
Jul 10, 2023

Commits on Jun 29, 2023

  1. events: fix bug listenerCount don't compare wrapped listener

    When add listener by once, it will be wrapped into another function.
    And when pass listener and there is just one event listener added by
    once, it will return 0 even if passed listener equal wrapped event
    listener.
    
    Refs: nodejs#46523
    yuzheng14 committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    bec4fff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71a76f9 View commit details
    Browse the repository at this point in the history