My wife dropped a bomb on me, while at work, that we are done

We had, after a couple of issues, established a no porn boundary, after I'd failed to steer clear of it a while back

I failed recently. Typical story, late into pregnancy/new baby. Understandably no intimacy, but she also became REALLY nasty during, and for a bit after the pregnancy (I understand why, hormones etc).

Today, for some reason, she let herself on my computer somehow, and found a couple of search results from a couple of months ago (the last time I'd used it, as when we became more normal, I stopped)

Massive explosion from her, relationship now seems to be completely done in the space of an hour, she's even re arranging finances and admin immediately.

Has anyone had anything similar, was there a way to fix this before it's too late?