You've just denied yourself.
what do you mean? I was agreeing with you. Being unconscious takes priority.
But with the coding it might contradict stealth vs taking damage, maybe? If you take damage (should something see you) you don't pop out of stealth unless you attack back (or if it's a trap, you don't pop out of stealth at all - But wouldn't it be kind of good if you did? off topic.)
Let's be honest. If someone is dying in stealth, they probably were stalking the person, not with them so how would you know to heal them? Would you want to?
Or
If they were with you, and stealthing here's something you need to consider: When you pop out of stealth in front of people, you have to physically leave the area (or sight) and come back to be unseen to them again. I do this often, where I am reveled to a person but not others. So, if you're stealthing with your party and perform an action - they can see you even if you go back into stealth, unless you break line of sight. If you're dying, you performed an action, would you really pop back into stealth before biting the dust? the likihood that you did, for the sake of this argument, means you probably didn't have time to break line of sight.
I play a lot of rogues and stealther characters, and I have yet to see this as a problem. Let alone seen it. While unconscious, you can leave stealth mode by clicking the button, assuming they can't see you for some reason. That's all I was saying. I have never encountered this as an issue, since dying takes priority to hiding.