Skip to content

Commit 94ed3e8

Browse files
committed
Don't dispose of texture atlas in canvas addon
This would cause problems if the atlas is shared between multiple terminals.
1 parent 1e1ccba commit 94ed3e8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

addons/xterm-addon-canvas/src/BaseRenderLayer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ export abstract class BaseRenderLayer extends Disposable implements IRenderLayer
7474

7575
this.register(toDisposable(() => {
7676
this._canvas.remove();
77-
this._charAtlas?.dispose();
7877
}));
7978
}
8079

0 commit comments

Comments
 (0)