Skip to content

node 20.1.0 --loader seems trigger beforeExit when use await import #47929

Closed
@wacdev

Description

@wacdev

Version

20.1.0

Platform

macos

What do you see instead?

My module will close the redis connection at the time of beforeExit, and the await import module (19.9.0) will not trigger beforeExit before.

In addition, the exit event is not triggered when use await import module

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.loadersIssues and PRs related to ES module loadersv20.xIssues that can be reproduced on v20.x or PRs targeting the v20.x-staging branch.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions