unbreak the zombiekilling
This commit is contained in:
parent
c06f2a50f1
commit
cbc8b64854
@ -38,7 +38,7 @@ var OSRMBaseLoader = class {
|
|||||||
}
|
}
|
||||||
|
|
||||||
osrmDown (callback) {
|
osrmDown (callback) {
|
||||||
if (this.scope.pid && this.child && !this.child.exitCode) {
|
if (this.scope.pid) {
|
||||||
process.kill(this.scope.pid, this.scope.TERMSIGNAL);
|
process.kill(this.scope.pid, this.scope.TERMSIGNAL);
|
||||||
this.waitForShutdown(callback);
|
this.waitForShutdown(callback);
|
||||||
this.scope.pid = null;
|
this.scope.pid = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user