From 681134f91c62b59e96722d0635a734944ae08f14 Mon Sep 17 00:00:00 2001 From: Ian Bicking Date: Fri, 7 Oct 2016 17:05:55 -0500 Subject: [PATCH] Fix #1597, fix bug that kept shooting from deactivating immediately (previously deactivated after 500ms delay) --- addon/lib/shooter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/lib/shooter.js b/addon/lib/shooter.js index 1b282843b3..d37ac425c4 100644 --- a/addon/lib/shooter.js +++ b/addon/lib/shooter.js @@ -436,7 +436,7 @@ const ShotContext = Class({ }; if (this.interactiveWorker) { - this.interactiveWorker.port.on("destroyed", () => finish); + this.interactiveWorker.port.on("destroyed", finish); try { this.interactiveWorker.port.emit("destroy"); } catch (e) {