On the other side of the war, Teichmuller did some of his best work during World War II.  According to the MacTutor biography, he volunteered to serve on the Eastern Front and got killed in 1943.  My impression, then, is that his Nazi fanaticism was a crime against his own mathematical career as well as against other mathematicians.