We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1986bda commit 7ad1fb3Copy full SHA for 7ad1fb3
src/vs/workbench/electron-sandbox/actions/windowActions.ts
@@ -62,6 +62,11 @@ export class CloseWindowAction extends Action2 {
62
override async run(accessor: ServicesAccessor): Promise<void> {
63
const nativeHostService = accessor.get(INativeHostService);
64
65
+ const window = getActiveWindow();
66
+ if (isAuxiliaryWindow(window)) {
67
+ return nativeHostService.closeWindowById(await window.vscodeWindowId);
68
+ }
69
+
70
return nativeHostService.closeWindow();
71
}
72
0 commit comments