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 a3231fc commit 661fbc9Copy full SHA for 661fbc9
src/vs/platform/tunnel/common/tunnel.ts
@@ -416,7 +416,7 @@ export abstract class AbstractTunnelService implements ITunnelService {
416
const hostMap = this._tunnels.get(remoteHost);
417
if (hostMap) {
418
const tunnel = hostMap.get(remotePort);
419
- const tunnelResult = await tunnel;
+ const tunnelResult = tunnel ? await tunnel.value : undefined;
420
if (!tunnelResult) {
421
hostMap.delete(remotePort);
422
}
0 commit comments