Add comment.

This commit is contained in:
Kevin Schaaf 2015-11-30 15:06:27 -08:00
parent 644105a469
commit d8ecd45469

View File

@ -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();
}