src/vs/workbench/contrib/terminal/common/terminalExtensionPoints.ts/TerminalContributionService/constructor
class TerminalContributionService:	constructor() {
		terminalsExtPoint.setHandler(contributions => {
			this._terminalProfiles = flatten(contributions.map(c => {
				return c.value?.profiles?.filter(p => hasValidTerminalIcon(p)).map(e => {
					return { ...e, extensionIdentifier: c.description.identifier.value };
				}) || [];
			}));
		});
	}