I accepted a promotion in about 1977, to lead a small group of financial analysts. One provision was to be rid, of a flambouyant gay fellow, who also had poor attendance, and did lousy work.
Nobody told me how to do it. So I documented his poor performance, and terminated him. He actually thanked me. No word of sexuality.
My superiors compplimented me for doing what they had puzzled about,but had also fialed to do.
This was a Fortune 500 Oil Serviices industry Co. Hq. then in LA, now Hq. in Dallas area.
Later I had another subordinate that was openly gay. He was skilled at his position. And it turned out to me still later, this firm had been fine employing homosexual men. One such was a VP.
That industry runs remote jobsites, with long assignments. Saudi Arabia. Alaska. South Africa.
Those things didn't seem to be problems, then.