Don't say anything when async processes are incremented or decremented
This commit is contained in:
parent
6fabce1d80
commit
55c331e68b
|
@ -766,7 +766,7 @@ Zotero.Translate.Base.prototype = {
|
||||||
if(this._parentTranslator) {
|
if(this._parentTranslator) {
|
||||||
this._parentTranslator.incrementAsyncProcesses();
|
this._parentTranslator.incrementAsyncProcesses();
|
||||||
} else {
|
} else {
|
||||||
Zotero.debug("Translate: Incremented asynchronous processes to "+this._runningAsyncProcesses, 4);
|
//Zotero.debug("Translate: Incremented asynchronous processes to "+this._runningAsyncProcesses, 4);
|
||||||
//Zotero.debug((new Error()).stack);
|
//Zotero.debug((new Error()).stack);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -777,7 +777,7 @@ Zotero.Translate.Base.prototype = {
|
||||||
"decrementAsyncProcesses":function(by) {
|
"decrementAsyncProcesses":function(by) {
|
||||||
this._runningAsyncProcesses -= (by ? by : 1);
|
this._runningAsyncProcesses -= (by ? by : 1);
|
||||||
if(!this._parentTranslator) {
|
if(!this._parentTranslator) {
|
||||||
Zotero.debug("Translate: Decremented asynchronous processes to "+this._runningAsyncProcesses, 4);
|
//Zotero.debug("Translate: Decremented asynchronous processes to "+this._runningAsyncProcesses, 4);
|
||||||
//Zotero.debug((new Error()).stack);
|
//Zotero.debug((new Error()).stack);
|
||||||
}
|
}
|
||||||
if(this._runningAsyncProcesses === 0) {
|
if(this._runningAsyncProcesses === 0) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user