Merge pull request #66 from hybridgroup/sigterm
Switch from process.exit() to process.kill()
This commit is contained in:
commit
e979ebb943
|
@ -70,7 +70,7 @@
|
|||
}
|
||||
process.on("SIGINT", function() {
|
||||
Cylon.getInstance().stop();
|
||||
return process.exit();
|
||||
return process.kill();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ class Cylon
|
|||
|
||||
process.on "SIGINT", ->
|
||||
Cylon.getInstance().stop()
|
||||
process.exit()
|
||||
process.kill()
|
||||
|
||||
# Public: Creates a new Robot
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue