Merge pull request #11258 from AdmiralCurtiss/imgui-crash-v2 ImGui render context race condition fix: Lock context during Init/Shutdown.