Merge branch 'master' into alexr00/ClearShouldClear

This commit is contained in:
Daniel Imms
2018-10-05 09:25:30 -07:00
committed by GitHub
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "xterm",
"description": "Full xterm terminal, in your browser",
"version": "3.7.0",
"version": "3.8.0",
"main": "lib/public/Terminal.js",
"types": "typings/xterm.d.ts",
"repository": "https://github.com/xtermjs/xterm.js",
+3 -1
View File
@@ -51,7 +51,9 @@ export abstract class BaseRenderLayer implements IRenderLayer {
public dispose(): void {
this._container.removeChild(this._canvas);
this._charAtlas.dispose();
if (this._charAtlas) {
this._charAtlas.dispose();
}
}
private _initCanvas(): void {