Now that's just being rude, she could at least pretend to be paying attention
For some spiders it is worse. In some cases he gives her something to eat (a wrapped fly or similar) so he can mate whilst she is distracted. It stops her from killing and eating him instead.
In other spiders he survives the process of mating largely because... well... he's so small she doesn't notice it happening
It is a myth that female spiders will eat the male after mating. The truth is that unless he is careful, she will just kill and eat him.