It's so selfish to stay "until the kids are grown". I don't know why some parents seem to think disrupting a 9-year-old's primary education is beyond the pale, but disrupting an 18-year-old's life as they're leaving home and starting university is fine and dandy. Not to mention that 18-year-old's decade of having a loveless and hostile relationship, and miserable home environment, modelled to them.
The 9-year-old might cry for a week but in the long term they will benefit from two parents who are much happier apart and can co-parent amicably (and it's more likely that you can co-parent amicably if you haven't had a decade to built up seething resentment of each other). In the meantime they don't actually have any important life milestones that can be messed up.
The 18-year-old is at a much more vulnerable stage of life, even if they're technically an adult who can understand what's going on. They absolutely need a sense of stability at home when their own life is the most turbulent and new than it's ever been. They do not need the emotional distraction of their parents divorcing when they're trying to juggle studies, new friendships, young adulthood. Because they understand, they'll also feel guilt that they were the reason their miserable parents stayed together for so long. And as young adults away from home, they'll have easy access to much more unhealthy coping mechanisms - drink and drugs - than a 9-year-old will.
I've said this on other threads like this, but everyone I know whose parents divorced when they were small children is a well-adjusted adult. Everyone I know whose parents "waited til the kids have grown" was thrown completely off kilter by it: coke addiction at university, dropping out of university (separate people), still in therapy a decade afterwards. The happiest outcome is someone who left her home country to start again, including going NC with both parents.
If you have your reasons for staying with a husband you hate then no one can stop you, but please don't pretend you're doing it for your children.