mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
This commit is contained in:
@@ -280,7 +280,7 @@ export class MainThreadEditorTabs {
|
||||
if (!editor) {
|
||||
return;
|
||||
}
|
||||
return group.closeEditor(editor);
|
||||
await group.closeEditor(editor);
|
||||
}
|
||||
//#endregion
|
||||
}
|
||||
|
||||
@@ -177,7 +177,8 @@ export class MainThreadTextEditors implements MainThreadTextEditorsShape {
|
||||
const editorPanes = this._editorService.visibleEditorPanes;
|
||||
for (let editorPane of editorPanes) {
|
||||
if (mainThreadEditor.matches(editorPane)) {
|
||||
return editorPane.group.closeEditor(editorPane.input);
|
||||
await editorPane.group.closeEditor(editorPane.input);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user