提交 3404da91 编写于 作者: A Alex Ross

Add debounce to config change event in tasks

Fixes #82623
上级 7462c67a
......@@ -283,7 +283,9 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
this.updateSetup(folderSetup);
this.updateWorkspaceTasks();
}));
this._register(this.configurationService.onDidChangeConfiguration(() => {
this._register(Event.debounce(this.configurationService.onDidChangeConfiguration, () => {
return;
}, 1000)(() => {
if (!this._taskSystem && !this._workspaceTasksPromise) {
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册