Skip to content

Commit bdf74f7

Browse files
committed
Fire change event when the candidate port finder is registered
Fixes microsoft#89428
1 parent 327aa90 commit bdf74f7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/vs/workbench/services/remote/common/remoteExplorerService.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ export class TunnelModel extends Disposable {
189189

190190
registerCandidateFinder(finder: () => Promise<{ host: string, port: number, detail: string }[]>): void {
191191
this._candidateFinder = finder;
192+
this._onCandidatesChanged.fire();
192193
}
193194

194195
setCandidateFilter(filter: ((candidates: { host: string, port: number, detail: string }[]) => Promise<{ host: string, port: number, detail: string }[]>) | undefined): void {

0 commit comments

Comments
 (0)