src/vs/code/electron-browser/sharedProcess/contrib/extensionsCleaner.ts/ProfileExtensionsCleaner/uninstallExtensionsNotInProfiles
class ProfileExtensionsCleaner:	private async uninstallExtensionsNotInProfiles(): Promise<void> {
		const installed = await this.extensionManagementService.getAllUserInstalled();
		const toUninstall = installed.filter(installedExtension => !this.profileExtensionsLocations.has(this.getKey(installedExtension.identifier, installedExtension.manifest.version)));
		if (toUninstall.length) {
			await Promise.all(toUninstall.map(extension => this.extensionManagementService.uninstall(extension, uninstalOptions)));
		}
	}