I read that that was why you see guys flipping up they barrel as the cock the hammer so the spent cap falls (hopefully), by gravity, to the ground.
It’s a pretty narrow channel in the frame where the hammer contacts the cap. They fall right out right past the hammer when it’s pulled back.
Ever had a toy cap gun with the plastic caps? The caps are the same thing but don’t fall out.