handle split pane being closed

This commit is contained in:
Eugene Pankov
2019-03-04 21:26:28 +01:00
parent bcc4a262e2
commit d25751abe7
3 changed files with 31 additions and 8 deletions

View File

@@ -370,7 +370,7 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit
this.sessionCloseSubscription = this.session.closed$.subscribe(() => {
this.frontend.destroy()
this.app.closeTab(this)
this.destroy()
})
}
}