Comparing version 2.1.0 to 2.1.1
@@ -427,3 +427,6 @@ const cluster = require('cluster'), | ||
callback: () => { | ||
this._worker.disconnect(); | ||
// Worker could die while suspend was in-flight, i.e. on endless loop, and _onStateStopped will drop _worker | ||
if (this._worker) { | ||
this._worker.disconnect(); | ||
} | ||
} | ||
@@ -430,0 +433,0 @@ }); |
{ | ||
"name": "luster", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Node.js cluster wrapper", | ||
@@ -5,0 +5,0 @@ "main": "./lib/luster.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
87688
2221