www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 03ef4723f8d9bcc7631c87c6b54167f538e7824c
parent 976b5c82c6f94e220ac5c913ca7da18c8c25c2bc
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun, 14 Aug 2016 17:21:08 -0400

Fix delay-generator handling during upgrade check and full sync

Diffstat:
Mchrome/content/zotero/xpcom/sync/syncEngine.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/sync/syncEngine.js b/chrome/content/zotero/xpcom/sync/syncEngine.js @@ -1210,7 +1210,7 @@ Zotero.Sync.Data.Engine.prototype._upgradeCheck = Zotero.Promise.coroutine(funct + allResults.libraryVersion + " != " + sinceResults.libraryVersion + " != " + lastLibraryVersion + ") -- waiting"); - let keepGoing = yield gen.next(); + let keepGoing = yield gen.next().value; if (!keepGoing) { throw new Error("Could not update " + this.library.name + " -- library in use"); } @@ -1336,7 +1336,7 @@ Zotero.Sync.Data.Engine.prototype._fullSync = Zotero.Promise.coroutine(function* Zotero.Sync.Data.conflictDelayIntervals, 60 * 60 * 1000 ); } - let keepGoing = yield gen.next(); + let keepGoing = yield gen.next().value; if (!keepGoing) { throw new Error("Could not update " + this.library.name + " -- library in use"); }