From 8182b10abfb6c6ff69b030618779dbc4b4aa3fb3 Mon Sep 17 00:00:00 2001 From: Myk Melez Date: Wed, 11 Jun 2008 15:23:54 -0700 Subject: [PATCH] resetting the score is not an asynchronous operation, so Service::_syncEngine shouldn't yield after calling it --- services/sync/modules/service.js | 1 - 1 file changed, 1 deletion(-) diff --git a/services/sync/modules/service.js b/services/sync/modules/service.js index e2300aed5f4..9ccc98df1cc 100644 --- a/services/sync/modules/service.js +++ b/services/sync/modules/service.js @@ -610,7 +610,6 @@ WeaveSvc.prototype = { engine.sync(self.cb); yield; engine._tracker.resetScore(); - yield; } catch(e) { this._log.error(Utils.exceptionStr(e)); if (e.trace)