From 50cdfcd5898af74f97e53c6c9b71ea0615dc5be5 Mon Sep 17 00:00:00 2001 From: nuintun Date: Wed, 13 Jan 2016 18:09:58 +0800 Subject: [PATCH] update files --- bin/emulator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/emulator.js b/bin/emulator.js index 65702e9..64388b2 100644 --- a/bin/emulator.js +++ b/bin/emulator.js @@ -26,7 +26,7 @@ Emulator.prototype = { }, stop: function (){ if (this.thread) { - this.thread.kill('SIGKILL'); + this.exec('taskkill /t /f /pid ' + this.thread.pid); ['stdin', 'stdout', 'stderr'].forEach(function (stream){ this.thread[stream].removeAllListeners();