As a "Good Muslim" he would know that homosexuality is a sin. How do you think that made him feel?
As a Good Muslim he would know that homosexual sex was a sin, even though he did it before he met Christian. Homosexual feelings ( which are beyond his control) would not be a sin.
I suspect that many muslims in his situation opt for celibacy.
You can't have your cake and eat it. IMO his choices were to be a celibate muslim or to leave the square with Christian and have a secular lifestyle.