The gun-wielder would just yank the gun back to get their finger out and then shoot, or just break their finger by snapping the gun to one side anyways
Well, mythbusters tested this. The bullet wont stop, and your hand will likely blow up, but the finger does offer enough resistance for the barrel of the gun to inflate slightly
Weren't you paying attention?