1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-09 01:24:11 +01:00
This commit is contained in:
Kris Maglione
2011-02-16 20:52:05 -05:00
parent a294f71264
commit d76a6e7f0f

View File

@@ -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) {