mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
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