How to deal with a friend that just talks about her relationship problems?

We've been friends since years. It used to be better I think but nowadays all she talks about is her relationship problems. And, it's not one relationship, she keeps on jumping from one situationship to another, currently she is romantically involved with three people: her two exes and a potential boyfriend. Since she's not in any relationship with them, I'm not judging her much. However, she keeps on telling me about her problems and I often know if she tried to talk or just be a little more considerate she could have a happy relationship. She doesn't want to remain single either, it's usually 2 weeks of breakup and she has a new partner.

Some weeks ago I lost my pet and it broke my heart. She was trying to console me but even that day she tried to talk about her relationships with me. I was so irritated, I stopped talking to her for some time. However, recently I got accepted at a university in a different state for higher studies and as I have to move out of my state I felt homesick and decided to reconnect with old friends. So I talked to her and regretted instantly. It was all her relationship talks. Yeah dating three guys at the same time seems like her own fault. After some time I asked her how other things are going on in her life like her career, family life or health and she seemed offended. Should I not just give up on this friendship?

Updates
11 mo
*for years.
How to deal with a friend that just talks about her relationship problems?
Post Opinion