On here you often see women in bad relationships (not abusive, or not seriously so, but not happy) say they will stay until the children are older/adults. So as to avoid disrupting their childhood, and then separate later. IME, IRL, such women usually end up staying - either because they reached an accommodation with their partner in the meantime they could live with, fear of being alone in old age, financial reasons, or discovered their children didn't magically become immune to family breakdown in their teens/twenties so still felt the obligation to maintain the facade.
So what I want to know is, did anyone actually do it - wait until the kids were older and then leave? How did it work out for you, and for the kids?