Children are the "innocent" party in any divorce. They hardly have any say, and irrespectively of who is guilty - their mum or dad, they suffer badly. Younger children 4-9 years old, can be often placated or "bought" by gifts and other treats, to such extend, that they won't fully comprehend the gravity of the situation.
Older children, will still quite eagerly accept "gifts" and special signs of appreciation. Yet they fully know what's happening, regardles of whether their parents told them or not. They have learned enough from TV and other kids. For children of this age, the factor of physical and material survival becomes the worrying factor. Especially, if their father was the one who mainly contributed to the family purse.
How can parents minimize these stressfull moments? Just be honest with your kids. Sit with them, and explain how the life will look AFTER the divorce. They need to understand, that it doesn't mean the end of the world.
And for the parents: consider the well being of your children before your own. They deserve it!