Sag,
All of this hurts like hell, to be sure.
My GXH came out by telling me he wanted to split up, then giving me a long list of my supposed character flaws, and then oh and also I'm gay.
I think finding fault with me was his way of making it ok that he'd lied, gaslighted me, and cheated on me.
I'm a year and a half post-disclosure, and things are getting better for me all the time. I'm not sure that time alone would have gotten me better - therapy has been a great blessing, as have my adult kids. In the beginning, I obsessed over what he was thinking, when he knew, what I might have missed, and I've let that go. I've never had a good explanation from him regarding when he realized it, whether he knew it when we met more than twenty years ago, when the cheating started. It took some effort to stop wishing for answers I was never going to get.
It's daunting to think about rebuilding my life in middle age, but my life is already so much better than giving my all in a fake marriage with someone wrapped up in his secret life.