diff --git a/lib/index.js b/lib/index.js index bd8dacf91236eb37d0b0eb522673cf1a47c9b037..dd0e1a8e9234ec8d37746967e5be467fd9a44ae5 100644 --- a/lib/index.js +++ b/lib/index.js @@ -52,7 +52,7 @@ var Worker = (function () { }, { key: "terminate", value: function terminate() { - this.child.kill("SIGHUP"); + this.child.kill("SIGINT"); } }]); diff --git a/package.json b/package.json index 877e353b53658aa027995812e8e9c1bc7b711dea..cbac20190e59ff4c6f0e17bc614dcdb31f01354a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tiny-worker", - "version": "1.1.4", + "version": "1.1.5", "description": "Tiny WebWorker for Server", "main": "lib/index.js", "scripts": {