mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Add comment.
This commit is contained in:
parent
644105a469
commit
d8ecd45469
@ -31,6 +31,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
this._flushGuard = 0;
|
||||
this._prepareFlush();
|
||||
while (this._debouncers.length && this._flushGuard < this._FLUSH_MAX) {
|
||||
// Avoid using an index in this loop to ensure flush is safe to be
|
||||
// called reentrantly from a debouncer callback being flushed
|
||||
while (this._debouncers.length) {
|
||||
this._debouncers.shift().complete();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user