Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/vs
diff options
context:
space:
mode:
authorAlex Ross <alros@microsoft.com>2022-06-07 16:01:16 +0300
committerGitHub <noreply@github.com>2022-06-07 16:01:16 +0300
commitc59119306db373e965e7e413bd1cbcf776770480 (patch)
tree3d6abd877f312689addc593e16b9d9ff3c77f8a9 /src/vs
parent6a58b4017c4ff76a15b8af57506e3094becbe75c (diff)
Clear tasks schema when there are new definitions (#151079)
Fixes #142642
Diffstat (limited to 'src/vs')
-rw-r--r--src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.ts b/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.ts
index 340990cb62c..b3fe1e79f8e 100644
--- a/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.ts
+++ b/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.ts
@@ -111,6 +111,7 @@ export class TaskDefinitionRegistryImpl implements ITaskDefinitionRegistry {
this.taskTypes = Object.create(null);
this.readyPromise = new Promise<void>((resolve, reject) => {
taskDefinitionsExtPoint.setHandler((extensions, delta) => {
+ this._schema = undefined;
try {
for (let extension of delta.removed) {
let taskTypes = extension.value;