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