Skip to content

Commit 8a7b87e

Browse files
authored
Fix initSessionModel not waiting (microsoft#178240)
1 parent ab264b4 commit 8a7b87e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/interactiveSession/browser/interactiveSessionWidget.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,7 @@ export class InteractiveSessionWidget extends Disposable implements IInteractive
510510

511511
private async initializeSessionModel(initial = false) {
512512
if (this.currentViewModelPromise) {
513+
await this.currentViewModelPromise;
513514
return;
514515
}
515516

0 commit comments

Comments
 (0)