Don't clear timeouts in TimeBasedDebouncer if they've already been executed.
This commit is contained in:
@@ -60,6 +60,7 @@ export class TimeBasedDebouncer implements IRenderDebouncer {
|
||||
this._lastRefreshMs = Date.now();
|
||||
this._innerRefresh();
|
||||
this._additionalRefreshRequested = false;
|
||||
this._refreshTimeoutID = undefined; // No longer need to clear the timeout
|
||||
}, waitPeriodBeforeTrailingRefresh);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user