It seems that the Police during WW2 were told to "back off" Alan Turing regarding his sexuality,as his work was of crucial importance to winning the war.
Without Turing we would probably not have computers (he created one of the first called Collossus),he also was a major factor in cracking the Enigma machine code.
When the war ended and Bletchley Park was closed Turing returned to civilian life.
He was caught (they were watching him of course) in a Public Toilet fumbling with another man.
His "crime" appeared in the newspapers,and he was enssential "outed" and his academic career was finished.
After the trial he returned home, went to his bedroom with a bottle of weed killer and drank it;and, the doctor said must have died in agony.
I have a gay grandson,and am glad he will not have to go through such a trial.
More about Alan Turing here:~
http://en.wikipedia.org/wiki/Alan_Turing