Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

exit the domain after emitting. Thanks, cxreg!

  • Loading branch information...
commit 2e8c6dae8531b308af9102af47d98b74a14209dc 1 parent e709971
Forrest L Norvell authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  index.js
View
1  index.js
@@ -581,6 +581,7 @@ function try_callback(callback, reply) {
} catch (err) {
if (process.domain) {
process.domain.emit('error', err);
+ process.domain.exit();
} else {
process.nextTick(function () {
throw err;
Please sign in to comment.
Something went wrong with that request. Please try again.