Have you ever been dumped when you were struggling with depression and/or a mood disorder?

Question is in the title.

Long story short- my partner of 15 months dumped me about two months ago. A lot of bad and sad things were happening around us in our respective families and I think it became too much for him and he needed me « out of his life ». Since then, I have been spiralling into a severe depressive episode. I told him at the start of our relationship that I could sometimes struggle mentally and he was always very supportive and assured that he’d always be there for me and would make sure everything would be alright. However, in hindsight, I have noticed that I had actually started displaying some (obvious) signs of depression a few weeks before he broke things off due to other personal circumstances that I could not control, and i wonder what kind of person can leave « the love of their life » when they start a depressive episode? I don’t hate him, but I just feel like im not worth fighting for, just good to be given up on. Has anyone been in the same situation? How did you feel?

ALSO, has anyone been in the reversed situation and broke up with their partner when they started a depression? How did you feel? Why did you do it?