-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
src: fix process exit listeners not receiving unsettled tla codes #56872
base: main
Are you sure you want to change the base?
src: fix process exit listeners not receiving unsettled tla codes #56872
Conversation
eef4c1f
to
80a0041
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #56872 +/- ##
=======================================
Coverage 90.24% 90.24%
=======================================
Files 630 630
Lines 184921 184909 -12
Branches 36185 36187 +2
=======================================
Hits 166879 166879
+ Misses 11065 11058 -7
+ Partials 6977 6972 -5
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. Some comments about the approaches taken.
a717cb0
to
b456e86
Compare
b456e86
to
7a48cfd
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
fix listeners registered via `process.on('exit', ...` not receiving error code 13 when an unsettled top-level-await is encountered in the code
fix listeners registered via `process.on('exit', ...` not receiving error code 13 when an unsettled top-level-await is encountered in the code
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
3779a97
to
e6a3409
Compare
@aduh95 I've updated the tests, hopefully this satisfies your asks, please have a look 🙏 |
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
fix listeners registered via
process.on('exit', ...
not receiving error code 13 when an unsettled top-level-await is encountered in the codeFixes: #53551