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

ffi/sdl: ensure correct order of SDL_DestroyRenderer followed by SDL_Quit #1730

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

Frenzie
Copy link
Member

@Frenzie Frenzie commented Jan 18, 2024

When running in Wayland, calling SDL_DestroyRenderer after SDL_Quit can cause a segmentation fault.

Fixes koreader/koreader#11371.


This change is Reviewable

…Quit

When running in Wayland, calling SDL_DestroyRenderer after SDL_Quit can cause a segmentation fault.

Fixes <koreader/koreader#11371>.
@Frenzie Frenzie merged commit 6599e1f into koreader:master Jan 18, 2024
1 check passed
@Frenzie Frenzie deleted the sdl-renderer branch January 18, 2024 17:03
NiLuJe added a commit to NiLuJe/koreader that referenced this pull request Jan 18, 2024
NiLuJe added a commit to koreader/koreader that referenced this pull request Jan 18, 2024
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.

Segfault on Restart / exit
2 participants