It seems similar to other bugs, in that the gun animation runs for dropping it, but instead of dropping it, the gun actually gets deleted.
It isn't where it was last dropped, it isn't at your feet, it's nowhere. this was newui and 0.59 stable, I've looked at other issues in the bug tracker but this specific issue where the gun actually gets wiped is not documented as being reproduceable.