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

internal: disable default memory leak warning for AbortSignal #55816

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 11, 2024

  1. internal: disable default memory leak warning for AbortSignal

    This change sets the default `kMaxEventTargetListeners` property for
    `AbortSignal` instances to 0, disabling the check per default, to enable
    users to write isomorphic library code.
    If desirable, the max event target listeners check can still be enabled
    for individual `AbortSignal` instances by calling `setMaxListeners` on them.
    
    Refs: nodejs#54758
    phryneas committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    f967e1a View commit details
    Browse the repository at this point in the history