Commit 248f552a authored by Nathan Rajlich's avatar Nathan Rajlich
Browse files

process: ensure that the "exit" event always has "code" given

Upon "normal" exiting of Node (i.e. the event loop completes naturally),
the "code" parameter was not being passed to the "exit" event listeners.

Be consistent. Tests included.
parent 77c18d1e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment