Skip to content

addOnPostRun does not work with EXIT_RUNTIME (at least not under node)  #15080

Description

@sbc100

I think this is because EXIT_RUNTIME causes the whole process to exit before the functions registered with addOnPostRun get a chance to run.

Because LSan and ASan set EXIT_RUNTIME by default this means addOnPostRun doesn't work in lsan and asan test suites by default.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions