diff options
Diffstat (limited to 'src/vs/workbench/browser/parts/editor/editorCommands.ts')
-rw-r--r-- | src/vs/workbench/browser/parts/editor/editorCommands.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vs/workbench/browser/parts/editor/editorCommands.ts b/src/vs/workbench/browser/parts/editor/editorCommands.ts index cb67d57d434..3624936e41f 100644 --- a/src/vs/workbench/browser/parts/editor/editorCommands.ts +++ b/src/vs/workbench/browser/parts/editor/editorCommands.ts @@ -844,7 +844,8 @@ function registerCloseEditorCommands() { handler: (accessor, resourceOrContext?: URI | IEditorCommandsContext, context?: IEditorCommandsContext) => { return Promise.all(getEditorsContext(accessor, resourceOrContext, context).groups.map(async group => { if (group) { - return group.closeAllEditors({ excludeSticky: true }); + await group.closeAllEditors({ excludeSticky: true }); + return; } })); } |