Find the stall with the baby-change station, fold it out, and lay the gun there. Barring that, I tend to rest it on any stable surface inside the stall.
Alternatively, cradle it in your hands and whisper to it feverishly, beads of sweat dripping from your temples.
Okay, just kidding about...