Skip to content

Commit b14044d

Browse files
committed
1 parent ff81f6c commit b14044d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1957,6 +1957,7 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
19571957
}
19581958

19591959
private async _getGroupedTasks(filter?: ITaskFilter): Promise<TaskMap> {
1960+
await this._waitForAllSupportedExecutions;
19601961
const type = filter?.type;
19611962
const needsRecentTasksMigration = this._needsRecentTasksMigration();
19621963
await this._activateTaskProviders(filter?.type);
@@ -2210,11 +2211,9 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
22102211
return new Map();
22112212
}
22122213
await this._waitForOneSupportedExecution;
2213-
if (runSource === TaskRunSource.Reconnect) {
2214-
await raceTimeout(this._waitForAllSupportedExecutions, 2000, () => {
2215-
this._logService.warn('Timed out waiting for all supported executions for task reconnection');
2216-
});
2217-
}
2214+
await raceTimeout(this._waitForAllSupportedExecutions, 2000, () => {
2215+
this._logService.warn('Timed out waiting for all supported executions');
2216+
});
22182217
await this._whenTaskSystemReady;
22192218
if (this._workspaceTasksPromise) {
22202219
return this._workspaceTasksPromise;

0 commit comments

Comments
 (0)