Only once has a presidential candidate died before the EVs were counted- Greeley 1872 and I can’t seem to find what happened to his votes.