src/vs/workbench/browser/labels.ts/ResourceLabels/disposeWidget
class ResourceLabels:	private disposeWidget(widget: ResourceLabelWidget): void {
		const index = this.widgets.indexOf(widget);
		if (index > -1) {
			this.widgets.splice(index, 1);
			this.labels.splice(index, 1);
		}

		dispose(widget);
	}