src/vs/platform/extensionManagement/node/extensionsWatcher.ts/ExtensionsWatcher/onDidRemoveExtensions
class ExtensionsWatcher:	private async onDidRemoveExtensions(e: DidRemoveProfileExtensionsEvent): Promise<void> {
		let hasToUninstallExtensions = false;
		for (const extension of e.extensions) {
			const key = this.getKey(extension.identifier, extension.version);
			if (e.error) {
				this.addExtensionWithKey(key, e.profileLocation);
			} else {
				this.removeExtensionWithKey(key, e.profileLocation);
				hasToUninstallExtensions = hasToUninstallExtensions || !this.allExtensions.has(key);
			}
		}
		if (hasToUninstallExtensions) {
			await this.uninstallExtensionsNotInProfiles();
		}
	}