public void dispose() {
		Iterator<MenuManager> it = menuManagers.values().iterator();
		while (it.hasNext()) {
			MenuManager mgr = it.next();
			mgr.dispose();
		}
		menuManagers.clear();
	}
Releases all resources and makes this object unusable.
Ghidra/Framework/Docking/src/main/java/docking/menu/MenuBarManager.java