commit e778c264676144c3348df5afb8398e032b2f04ea parent 3af526f112a5188e1f7e4f255712f23852eef8cf Author: Dan Stillman <dstillman@zotero.org> Date: Mon, 21 May 2012 01:43:35 -0400 Start processUpdatedXML() inline to avoid wait level errors (hopefully) Diffstat:
| M | chrome/content/zotero/xpcom/sync.js | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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) {