1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 15:44:11 +01:00

Fix live XPI update.

This commit is contained in:
Kris Maglione
2011-02-23 20:40:09 -05:00
parent 80ca9194ec
commit d9fe3a736e
4 changed files with 11 additions and 9 deletions

View File

@@ -68,9 +68,9 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
if (mod instanceof ModuleBase || mod && mod.isLocalModule) {
mod.stale = true;
if ("cleanup" in mod)
this.trapErrors(mod.cleanup, mod);
this.trapErrors("cleanup", mod);
if ("destroy" in mod)
this.trapErrors(mod.destroy, mod);
this.trapErrors("destroy", mod);
}
for (let mod in values(mods))