This commit is contained in:
isaacs 2013-03-08 20:26:26 -08:00
parent 77a776da90
commit 7c9ff8e94a

View File

@ -260,7 +260,7 @@
// or else crash on the original one. // or else crash on the original one.
domainStack.pop(); domainStack.pop();
if (domainStack.length) { if (domainStack.length) {
var parentDomain = domainStack[ domainStack.length - 1]; var parentDomain = domainStack[domainStack.length - 1];
process.domain = domainModule.active = parentDomain; process.domain = domainModule.active = parentDomain;
caught = process._fatalException(er2); caught = process._fatalException(er2);
} else } else