Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make TranslationServer singleton variable inline. #97923

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

kisg
Copy link
Contributor

@kisg kisg commented Oct 7, 2024

This change avoids the problem known as 'Static Initialization Order Fiasco' (SIOF).
We ran into this issue in a customized Godot build, but could hit anyone.

See the following PR for more explanation: #94683

Developed by Migeran

This change avoids the problem known as 'Static Initialization Order Fiasco' (SIOF).

See the following PR for more explanation: godotengine#94683

Co-authored-by: Gabor Koncz <[email protected]>
@kisg kisg requested a review from a team as a code owner October 7, 2024 11:48
@Chaosus Chaosus added this to the 4.4 milestone Oct 7, 2024
Copy link
Member

@timothyqiu timothyqiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could not test the described problem, but the modification itself should be safe.

@Repiteo Repiteo merged commit ebf4931 into godotengine:master Nov 12, 2024
19 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Nov 12, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants