This commit is contained in:
JoelKatz
2014-01-23 13:36:31 -08:00
parent 58a6ca1d3d
commit fb63aa737a
2 changed files with 2 additions and 142 deletions

View File

@@ -525,13 +525,10 @@ exports.verify_offer_not_found = verify_offer_not_found;
exports.verify_owner_count = verify_owner_count;
exports.verify_owner_counts = verify_owner_counts;
// ND: perhaps `exit` is more suitable, else when using suite(Setup|Teardown)
// with build_setup we could hang.
process.on('exit', function() {
// process.on('uncaughtException', function() {
process.on('uncaughtException', function() {
Object.keys(server).forEach(function(host) {
server[host].stop();
});
});
// vim:sw=2:sts=2:ts=8:et
// vim:sw=2:sts=2:ts=8:et