Skip to content

Commit 0bff53b

Browse files
author
Benjamin Pasero
authored
proxy authentication does not work on 1.49 (microsoft#106434) (microsoft#106490)
1 parent e790b93 commit 0bff53b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/code/electron-main/auth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ export class ProxyAuthHandler extends Disposable {
9292
if (channel === 'vscode:proxyAuthResponse') {
9393
const { username, password } = credentials;
9494
cb(username, password);
95+
win.removeListener('close', onWindowClose);
96+
win.close();
9597
}
96-
win.removeListener('close', onWindowClose);
97-
win.close();
9898
});
9999
win.loadURL(url);
100100
}

0 commit comments

Comments
 (0)