It is a safety feature, but it's not a universal safety feature across all pistols.
In fact, many folks prefer not to have it because in the event of an inadvertent mag drop in the middle of an SD encounter, they do not want to be left with an inoperable pistol.
In fact, many folks prefer not to have it because in the event of an inadvertent mag drop in the middle of an SD encounter, they do not want to be left with an inoperable pistol.