src/vs/workbench/browser/parts/compositeBar.ts/CompositeBar/deactivateComposite
class CompositeBar:	deactivateComposite(id: string): void {
		const previousActiveItem = this.model.activeItem;
		if (this.model.deactivate()) {
			if (previousActiveItem && !previousActiveItem.pinned) {
				this.updateCompositeSwitcher();
			}
		}
	}