Skip to content

Commit

Permalink
keep promise alive when continuing in modal dialog, #125750
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Jun 16, 2021
1 parent fbe6292 commit 99a2f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/api/browser/mainThreadMessageService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class MainThreadMessageService implements MainThreadMessageServiceShape {

if (detail) {
primaryActions.push(new Action('more', nls.localize('details', "More"), undefined, true, () => {
this._showModalMessage(severity, message, detail, commands, false);
resolve(this._showModalMessage(severity, message, detail, commands, false));
}));
}

Expand Down

0 comments on commit 99a2f34

Please sign in to comment.