1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 06:44:17 +01:00

Possibly stem aforementioned focus bug.

--HG--
branch : bootstrapped
This commit is contained in:
Kris Maglione
2010-12-27 12:04:03 -05:00
parent e93f7455f2
commit ff52485ca5
6 changed files with 16 additions and 7 deletions

View File

@@ -930,8 +930,10 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
// destroy modules.
util.timeout(function () {
for (let module in values(defineModule.modules))
if (module.cleanup)
if (module.cleanup) {
util.dump("cleanup: " + module.constructor.className);
util.trapErrors(module.cleanup, module);
}
services.observer.addObserver(this, "dactyl-rehash", true);
});