Repairing a broken post on a stud

I just watched Mechelle repair a stud earring that had a gemstone. I was surprised that she could use heat to solder on
a new post. I thought it would have to be protected from the heat. What am I missing?

The stone is one that can take the heat…Rob