Мелкая поправка

This commit is contained in:
Book Pauk
2020-01-27 19:42:30 +07:00
parent 57fc64af79
commit a5cb2641fd

View File

@@ -22,8 +22,6 @@ class LimitedQueue {
for (let i = 0; i < this.listeners.length; i++) { for (let i = 0; i < this.listeners.length; i++) {
this.listeners[i].onPlaceChange(i + 1); this.listeners[i].onPlaceChange(i + 1);
} }
this.resetTimeout();
} }
} }
@@ -46,6 +44,7 @@ class LimitedQueue {
this.freed++; this.freed++;
this._emitFree(); this._emitFree();
aCount = -1; aCount = -1;
this.resetTimeout();
} }
}, },
abort: () => { abort: () => {