EDIT: But I could be wrong since she just posted this:
This is closer to the argument you suspected was hiding behind her words. But it certainly wasn't present at the time you posted.
I think the point being made was along the lines of "don't sneak around". End the relationship first, which eliminates the subsequent acts as infidelity.