Fix an endless spin problem
This commit is contained in:
parent
f307698ae3
commit
76e360ae2a
1 changed files with 6 additions and 0 deletions
|
@ -2479,6 +2479,12 @@ Zotero.Sync.Storage.Queue.prototype.start = function () {
|
||||||
throw (this.Name + " queue is already running in "
|
throw (this.Name + " queue is already running in "
|
||||||
+ "Zotero.Sync.Storage.Queue.start()");
|
+ "Zotero.Sync.Storage.Queue.start()");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!this.queuedRequests) {
|
||||||
|
Zotero.debug("No requests to start in " + this.name + " queue");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this._running = true;
|
this._running = true;
|
||||||
this.advance();
|
this.advance();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue