mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 08:55:46 +01:00
Collapse bloody focus region selection after following a hint.
This commit is contained in:
@@ -124,7 +124,7 @@ var Contexts = Module("contexts", {
|
||||
util.trapErrors("destroy", hive);
|
||||
|
||||
for (let [name, plugin] in iter(this.modules.plugins.contexts))
|
||||
if (plugin && "onUnload" in plugin)
|
||||
if (plugin && "onUnload" in plugin && callable(plugin.onUnload))
|
||||
util.trapErrors("onUnload", plugin);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user