Comparing version 0.5.5 to 0.5.6
@@ -536,5 +536,8 @@ 'use strict'; | ||
process.on('SIGINT', function () { | ||
try { dump(); } | ||
catch (e) { console.error(e); } | ||
process.exit(); | ||
// let other potential handlers run before exiting | ||
process.nextTick(function () { | ||
try { dump(); } | ||
catch (e) { console.error(e); } | ||
process.exit(); | ||
}); | ||
}); | ||
@@ -541,0 +544,0 @@ } |
{ | ||
"name": "wtfnode", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "Utility to help find out why Node isn't exiting", | ||
@@ -5,0 +5,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31478
638