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

sdl: fix exiting while waiting for a render to be presented #876

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

Daft-Freak
Copy link
Collaborator

Did not expect to be debugging threading issues today. Fixes a 500ms hang + occacional crash at exit.

This would sometimes trigger the "user code frozen" message at exit, in some cases crashing when the semaphores get destroyed whilst the update thread is waiting on them.
@Daft-Freak
Copy link
Collaborator Author

Real change: https://github.com/32blit/32blit-sdk/pull/876/files?w=1

(I blame .editorconfig)

@Daft-Freak Daft-Freak merged commit db20fc7 into master Nov 26, 2024
18 checks passed
@Daft-Freak Daft-Freak deleted the patch-sdl-thread-exit branch November 26, 2024 11:47
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.

1 participant