From 01ab04ef8accf77e03ec9a1f90d2c11cd66a2c3b Mon Sep 17 00:00:00 2001 From: nuintun Date: Thu, 14 Jan 2016 11:12:30 +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 0a7f8ef..334a2b4 100644 --- a/bin/emulator.js +++ b/bin/emulator.js @@ -61,7 +61,7 @@ Emulator.prototype.stop = function (){ if (this.thread) { threadKill(this.thread.pid); } else { - context.emit('close', 0); + this.emit('close', 0); } };