diff --git a/packages/console/src/browser/console-widget.ts b/packages/console/src/browser/console-widget.ts index 0714c6d5f7455..7c677135be2c7 100644 --- a/packages/console/src/browser/console-widget.ts +++ b/packages/console/src/browser/console-widget.ts @@ -113,6 +113,7 @@ export class ConsoleWidget extends BaseWidget implements StatefulWidget { } })); + this.session = this.sessionManager.selectedSession; this.toDispose.push(this.sessionManager.onDidChangeSelectedSession(session => { // Don't delete the last session by overriding it with 'undefined' if (session) {