diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 4c74f690dd..a9fa79c2fc 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -701,7 +701,7 @@ if(appInfo.platformVersion[0] >= 2) { while(_waitingForDBLock && !Zotero.closing && Date.now() < timeout) { Zotero.mainThread.processNextEvent(true); } - if(Zotero.closing) return; + if(Zotero.closing) return false; // We will want to broadcast when initialization completes _broadcastInitComplete = true;