Why letting a pregnant woman's heart stop could save both her and her baby

This might very well be a very stupid question, but how is it possible that noone in the history of ER ever thought of this? I mean, if there is one field where it would sound natural to make split-second decisions to try and see if you can save someone it’s this one