As mentioned above, Glocks have three mechanical safeties, all of which are disengaged by pulling the trigger.
https://us.glock.com/en/learn/glock-pistols/safe-action-system
The problem in this instance is that the taser is shaped just like a Glock, to make training and LBE easier/cheaper for...