src/vs/base/browser/ui/list/listWidget.ts/TraitRenderer/disposeTemplate
class TraitRenderer:	disposeTemplate(templateData: ITraitTemplateData): void {
		const index = this.renderedElements.findIndex(el => el.templateData === templateData);

		if (index < 0) {
			return;
		}

		this.renderedElements.splice(index, 1);
	}