src/vs/workbench/browser/parts/titlebar/titlebarPart.ts/TitlebarPart/uninstallMenubar
class TitlebarPart:	private uninstallMenubar(): void {
		if (this.customMenubar) {
			this.customMenubar.dispose();
			this.customMenubar = undefined;
		}

		if (this.menubar) {
			this.menubar.remove();
			this.menubar = undefined;
		}
	}