if they mean (a) she was the final thing on his mind before he died, or (b) he was thinking about everything else except her when he died.
Augh! No, no, no! I hate ambiguity! I want it clear! No fair of them! Grr! HBC, btw.