You need to control the muzzle. It doesn't care if it's your gun. It doesn't care if it's "just" a .22. It doesn't care what you were doing or what you thought you were doing. Point the muzzle in any direction and do something that lets the hammer fall and the bullet will impact whatever was in front of it at the moment it fired.
In this case, it was a woman looking down at her bra holster as she tried to adjust it in some way. Whatever pulled the trigger, be it her finger or part of her clothing, the bullet struck her in the eye and she died.
This death is a tragedy and I can empathize with her family deeply, but it is not an accident. It is the result of a negligent discharge of a firearm while the firearm was pointed in an unsafe direction.