提交 398b08d8 编写于 作者: J Joao Moreno

Merge branch 'master' of github.com:Microsoft/vscode

......@@ -255,9 +255,9 @@ export class TerminalTab extends Disposable implements ITerminalTab {
}
// Fire events and dispose tab if it was the last instance
this._onInstancesChanged.fire();
if (this._terminalInstances.length === 0) {
this._onDisposed.fire(this);
this._onInstancesChanged.fire();
this.dispose();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册