From f8476edbbd770f6a439e900e4145b1ffb7efb9ce Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 4 Jan 2011 01:44:59 -0500 Subject: [PATCH] Fix cleanup issue. --- common/content/dactyl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/dactyl.js b/common/content/dactyl.js index b8e70e7a..7dd3565e 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -57,7 +57,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { for (let name in values(Object.getOwnPropertyNames(modules).reverse())) { let mod = Object.getOwnPropertyDescriptor(modules, name).value; - if (mod instanceof ModuleBase) { + if (mod instanceof Class) { if ("cleanup" in mod) mod.cleanup(); if ("destroy" in mod)