Get correct candidate for checking port attributes providers
This commit is contained in:
parent
fd57115d52
commit
b12279b40c
1 changed files with 1 additions and 1 deletions
|
@ -645,7 +645,7 @@ export class TunnelModel extends Disposable {
|
|||
const allProviderResults = await Promise.all(flatten(this.portAttributesProviders.map(provider => {
|
||||
return Array.from(pidToPortsMapping.entries()).map(entry => {
|
||||
const portGroup = entry[1];
|
||||
const matchingCandidate = matchingCandidates.get(portGroup[1]);
|
||||
const matchingCandidate = matchingCandidates.get(portGroup[0]);
|
||||
return provider.providePortAttributes(portGroup,
|
||||
matchingCandidate?.pid, matchingCandidate?.detail, new CancellationTokenSource().token);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue