It's important to cool donuts to room temperature before glazing them. Place donuts on a wire rack and allow them to cool completely before glazing so the glaze can set instead of melting.