What are your thoughts on early voting? (please do not reference political parties or candidates)

My buddy's mom died a couple days ago. She had already mailed in her vote so come election Day I know at least 1 dead person who's vote will be counted. I realize she was alive when she cast the vote but not sure I like that it will be counted since she's technically not here when the election happens. Another draw back to mail in voting are the ballot box fires.
What if you vote in person early but pass away before Election Day? Same thing, yes? Vote should count if you’re alive when you cast it.