There was an error while loading. Please reload this page.
1 parent b1aee19 commit 6640dbdCopy full SHA for 6640dbd
1 file changed
src/browser/Viewport.ts
@@ -170,7 +170,7 @@ export class Viewport extends Disposable {
170
}
171
172
private _sync(ydisp: number = this._bufferService.buffer.ydisp): void {
173
- if (!this._renderService || this._isSyncing) {
+ if (this._isDisposed || !this._renderService || this._isSyncing) {
174
return;
175
176
// Defer DOM scroll updates during synchronized output to prevent visible
0 commit comments