diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index f77506ff0..866d14ed0 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -760,7 +760,11 @@ if(appInfo.platformVersion[0] >= 2) { Zotero.closing = true; // run shutdown listener - for each(var listener in _shutdownListeners) listener(); + for each(var listener in _shutdownListeners) { + try { + listener(); + } catch(e) {} + } // remove temp directory Zotero.removeTempDirectory();