diff options
author | Alex Ross <alros@microsoft.com> | 2022-06-07 16:01:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-07 16:01:16 +0300 |
commit | c59119306db373e965e7e413bd1cbcf776770480 (patch) | |
tree | 3d6abd877f312689addc593e16b9d9ff3c77f8a9 /src/vs | |
parent | 6a58b4017c4ff76a15b8af57506e3094becbe75c (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.ts | 1 |
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; |