src/vs/workbench/contrib/terminal/browser/terminalService.ts/TerminalService/_updateIcon
class TerminalService:	private _updateIcon(instance: ITerminalInstance, userInitiated: boolean): void {
		if (!this.configHelper.config.enablePersistentSessions || !instance || !instance.persistentProcessId || !instance.icon || instance.isDisposed) {
			return;
		}
		this._primaryBackend?.updateIcon(instance.persistentProcessId, userInitiated, instance.icon, instance.color);
	}