Quite frankly, whenever I see people going the public CoC accusation route instead of talking things out man-to-man or simply parting ways politely, I see man children who never learned to resolve problems in a mature manner without running off to get Mom.
Codes of conduct are an intersectional-feminist political demand, and are often explicitly justified in terms of protecting women and other marginalized demographics such as genderqueer people from what they view as harassment. Talking things out "man-to-man" is the opposite the discourse norm organizations with codes of conduct want to enforce.