diff --git a/dist/cylon.js b/dist/cylon.js index cb450f8..5446110 100644 --- a/dist/cylon.js +++ b/dist/cylon.js @@ -70,7 +70,7 @@ } process.on("SIGINT", function() { Cylon.getInstance().stop(); - return process.exit(); + return process.kill(); }); } diff --git a/src/cylon.coffee b/src/cylon.coffee index 2e5caf0..87d04d6 100644 --- a/src/cylon.coffee +++ b/src/cylon.coffee @@ -51,7 +51,7 @@ class Cylon process.on "SIGINT", -> Cylon.getInstance().stop() - process.exit() + process.kill() # Public: Creates a new Robot #