IsInGameThread ensure

Hi Alex,

I’m curious, is GGameThreadId ever set in your main function? This doesn’t seem to come from static initialization in your case since we can clearly see the main function at the root.

The old value is really meant to be only GGameThreadId, it’s the only old way of identifying the game thread. So a properly placed init of the GGameThreadId at the earliest place possible should fix this.

Hope this helps,

Danny