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

Fix GDScript thread-exit routine assuming thread-enter was called #85432

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

RandomShaper
Copy link
Member

Just as simple as that: the engine can create threads before even GDScript has been lifted up. GDScript::thread_exit() will be called regardless.

Fixes #85377.

@akien-mga: This is simple enough to be safe for 4.2. For 4.3 I'll submit a more comprehensive PR.

@akien-mga akien-mga merged commit b3a0e07 into godotengine:master Nov 27, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@RandomShaper RandomShaper deleted the fix_gds_exit_crash_lower branch November 27, 2023 17:21
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.

GDScript thread bookkeeping crash when sending SIGINT (Ctrl+C from console) to editor while project is running
2 participants