Fix an endless spin problem

This commit is contained in:
Dan Stillman 2009-02-06 06:29:01 +00:00
parent f307698ae3
commit 76e360ae2a

View file

@ -2479,6 +2479,12 @@ Zotero.Sync.Storage.Queue.prototype.start = function () {
throw (this.Name + " queue is already running in "
+ "Zotero.Sync.Storage.Queue.start()");
}
if (!this.queuedRequests) {
Zotero.debug("No requests to start in " + this.name + " queue");
return;
}
this._running = true;
this.advance();
}