1
0
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:
Kris Maglione
2011-03-23 14:16:18 -04:00
parent 5f4bf0537a
commit 46e8d43429
5 changed files with 8 additions and 9 deletions

View File

@@ -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);
},