From f33a48ff2a9bfcf09b9ab425886c5cf100fde939 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 18 Feb 2014 11:59:18 -0800 Subject: [PATCH] Fix signals breakage. --- common/content/dactyl.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/content/dactyl.js b/common/content/dactyl.js index 9d4cbcfe..b30e766e 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -219,8 +219,10 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { this._observers[type] = this._observers[type] .filter(callback => { callback = callback.get(); - if (callback) + if (callback) { util.trapErrors(() => callback.apply(null, args)); + return true; + } }); },