diff --git a/common/content/io.js b/common/content/io.js index d9e5d1c3..e3ba52a0 100644 --- a/common/content/io.js +++ b/common/content/io.js @@ -141,6 +141,9 @@ function IO() //{{{ downloadManager.addListener(downloadListener); liberator.registerObserver("shutdown", function () { downloadManager.removeListener(downloadListener); + for (let [, plugin] in Iterator(plugins.contexts)) + if (plugin.onUnload) + plugin.onUnload(); }); /////////////////////////////////////////////////////////////////////////////}}} diff --git a/common/modules/storage.jsm b/common/modules/storage.jsm old mode 100755 new mode 100644 diff --git a/muttator/content/mail.js b/muttator/content/mail.js old mode 100755 new mode 100644