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 28fc616 commit 77aaee5Copy full SHA for 77aaee5
src/client/pythonEnvironments/base/locators/composite/envsCollectionService.ts
@@ -223,10 +223,7 @@ export class EnvsCollectionService extends PythonEnvsWatcher<PythonEnvCollection
223
private resolveProgressStates(query: PythonLocatorQuery | undefined) {
224
this.refreshesPerQuery.get(query)?.resolve();
225
this.refreshesPerQuery.delete(query);
226
- Object.values(ProgressReportStage).forEach((stage) => {
227
- this.refreshesPerStage.get(stage)?.resolve();
228
- this.refreshesPerStage.delete(stage);
229
- });
+ // Refreshes per stage are resolved using the progress event instead.
230
const isRefreshComplete = Array.from(this.refreshesPerQuery.values()).every((d) => d.completed);
231
if (isRefreshComplete) {
232
this.progress.fire({ stage: ProgressReportStage.discoveryFinished });
0 commit comments