graceful-shutdown
Advanced tools
Comparing version 0.0.3 to 0.0.4
0.0.4 / 2013-12-13 | ||
================== | ||
* revert callback on server close event | ||
0.0.3 / 2013-12-12 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -41,3 +41,3 @@ 'use strict'; | ||
* | ||
* @param {Functin} cb | ||
* @param {Function} cb | ||
*/ | ||
@@ -58,5 +58,5 @@ | ||
debug('_shutdown'); | ||
if (this.cb) this.server.on('close', this.cb); | ||
this.server.close(); | ||
if (this.cb) this.cb(); | ||
}; | ||
{ | ||
"name": "graceful-shutdown", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Gracefully shutdown a server upon receiving the specified signal(s)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
5996