Not at all. The fact that a person is in a bad marriage that is worth getting out of doesn't necessarily compromise their ability to see moral issues clearly.
I think the main problem is that a lot of folks look at divorce as immoral. That clearly isn't necessarily so. There's the disconnect.
If there was no vow, then there was no such violation.