Skip to content

Commit 1a1ee2d

Browse files
authored
debt - register disposable (microsoft#261635)
1 parent 4b479c4 commit 1a1ee2d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/vs/workbench/contrib/chat/common/tools/tools.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export class BuiltinToolsContribution extends Disposable implements IWorkbenchCo
2525
this._register(toolsService.registerToolImplementation(EditToolData.id, editTool));
2626

2727
const manageTodoListTool = instantiationService.createInstance(ManageTodoListTool);
28+
this._register(manageTodoListTool);
2829
this._register(toolsService.registerToolData(ManageTodoListToolData));
2930
this._register(toolsService.registerToolImplementation(ManageTodoListToolData.id, manageTodoListTool));
3031
}

src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class LimitIndicatorContribution extends Disposable implements IWorkbench
3636
const statusEntries = accessors.map(indicator => new LanguageStatusEntry(languageStatusService, indicator));
3737
statusEntries.forEach(entry => this._register(entry));
3838

39-
let control: any;
39+
let control: unknown;
4040

4141
const onActiveEditorChanged = () => {
4242
const activeControl = editorService.activeTextEditorControl;

0 commit comments

Comments
 (0)