Elevate if needed when restoring ports

Fixes microsoft/vscode-remote-release#5776
This commit is contained in:
Alex Ross
2021-11-04 16:43:35 +01:00
parent 3afe028227
commit 18e854aa33

View File

@@ -547,7 +547,8 @@ export class TunnelModel extends Disposable {
remote: { host: tunnel.remoteHost, port: tunnel.remotePort },
local: tunnel.localPort,
name: tunnel.name,
privacy: tunnel.privacy
privacy: tunnel.privacy,
elevateIfNeeded: true
});
}
}