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:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user