Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Fix #1597, fix bug that kept shooting from deactivating immediately (…
Browse files Browse the repository at this point in the history
…previously deactivated after 500ms delay)
  • Loading branch information
ianb committed Oct 7, 2016
1 parent 40088fe commit 681134f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/lib/shooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 681134f

Please sign in to comment.