From d76a6e7f0f4d894ecced7a3039e0329552f38873 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 16 Feb 2011 20:52:05 -0500 Subject: [PATCH] Ugh. --- common/content/events.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/common/content/events.js b/common/content/events.js index 2d0b8217..7665af04 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -34,13 +34,9 @@ var ProcessorStack = Class("ProcessorStack", { }, notify: function () { - let kill = events.withSavedValues(["processor"], function () { - events.processor = null; - return this.execute(Events.KILL, true); - }, this); - - if (kill) - events.processor = null; + events.processor = null; + if (!this.execute(Events.KILL, true)) + events.processor = this; }, execute: function execute(result, force) {