I did that for many years, and even hit my bare legs or feet a few times. But the solder cools really fast, and doing that doesn't cause a great deal of pain or damage. Just enough to remind you to be more careful.
These days, I flick the solder onto my soldering mat instead.