Skip to content

Fix static initialization order issue in AllowFail classes#2446

Merged
bfiete merged 1 commit into
beefytech:masterfrom
disarray2077:fix_static_order
May 19, 2026
Merged

Fix static initialization order issue in AllowFail classes#2446
bfiete merged 1 commit into
beefytech:masterfrom
disarray2077:fix_static_order

Conversation

@disarray2077
Copy link
Copy Markdown
Contributor

@disarray2077 disarray2077 commented May 19, 2026

While trying out the newly merged Linux IDE changes, I noticed the IDE was crashing because of unavailable dynamic libraries even though the AllowFail should set the IsXAvailable variable to false to prevent that. It turns out this was just a static initialization order issue. This PR fixes it in a way that completely avoids future static initialization order issues in these cases.

@bfiete bfiete merged commit dbf70a3 into beefytech:master May 19, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants