Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[squash] add frindly comment explaining _events interaction
  • Loading branch information
AndreasMadsen committed Jul 3, 2017
commit 527a4f687384d41b36d28189f61b67b4998f9582
2 changes: 2 additions & 0 deletions lib/async_hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ async_wrap.setupHooks({ init,
// in C++.
function clearFatalExceptionHandlers(e) {
process.domain = undefined;
// Don't use removeAllListeners in case there is a removeListener listener
// that would revert it.
process._events.uncaughtException = undefined;
}

Expand Down