Correctly kill process
This commit is contained in:
parent
fcd771cadc
commit
d8152852a0
|
@ -65,7 +65,7 @@ var Cylon = (function() {
|
|||
|
||||
process.on("SIGINT", function() {
|
||||
Cylon.getInstance().halt();
|
||||
process.kill();
|
||||
process.kill(process.pid);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue