forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Investigate process.exit() and node.js termination #25
Milestone
Comments
This may be related to Lines 4863 to 4870 in 7a59273
node::lib functions.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When process.exit() is called, an exit event seems to be dispatched. To figure out how to properly handle this in our terminate method, we need to understand how this works. Is it added to the event queue? Is the event queue cleared before? Is the event dispatched outside of the event loop?
According to your findings, modify node::lib::Terminate().
The text was updated successfully, but these errors were encountered: