Fix NPE in open

Fixes #2174
This commit is contained in:
Daniel Imms
2019-06-03 12:28:44 -07:00
parent 4f35c21355
commit 322ae131a1
-1
View File
@@ -750,7 +750,6 @@ export class Terminal extends EventEmitter implements ITerminal, IDisposable, II
this.element.appendChild(fragment);
this._theme = this.options.theme;
this.options.theme = null;
this._colorManager = new ColorManager(document, this.options.allowTransparency);
this._colorManager.setTheme(this._theme);