src/vs/workbench/contrib/scm/browser/menus.ts/SCMMenus/onDidRemoveRepository
class SCMMenus:	private onDidRemoveRepository(repository: ISCMRepository): void {
		const menus = this.menus.get(repository.provider);
		menus?.dispose();
		this.menus.delete(repository.provider);
	}