From e778c264676144c3348df5afb8398e032b2f04ea Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 21 May 2012 01:43:35 -0400 Subject: [PATCH] Start processUpdatedXML() inline to avoid wait level errors (hopefully) --- chrome/content/zotero/xpcom/sync.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js index 2a1c4b259..c1ded5e91 100644 --- a/chrome/content/zotero/xpcom/sync.js +++ b/chrome/content/zotero/xpcom/sync.js @@ -1678,6 +1678,10 @@ Zotero.Sync.Server = new function () { } ); + try { + gen.next(); + } + catch (e if e.toString() === "[object StopIteration]") {} Zotero.pumpGenerator(gen, false, errorHandler); } catch (e) {