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

SDL2 resource destructors segfaults fix #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brainstormi
Copy link

Fix for random segfaults in SDL destructors. Discussed in issue #2.
SDL_DestroyXXXX and SDL_FreeSurface should be called from the main thread due to the lack of multithreading support in SDL2.
Probably not the cleanest or more elegant implementation to merge, but in the worst case, useful as proof of concept solving these segfaults.

@essen
Copy link
Member

essen commented Dec 22, 2015

Thanks. Sounds good. Will merge when I can. :-)

Serneum pushed a commit to Serneum/esdl2 that referenced this pull request Aug 30, 2016
Serneum pushed a commit to Serneum/esdl2 that referenced this pull request Aug 30, 2016
Serneum pushed a commit to Serneum/esdl2 that referenced this pull request Sep 13, 2016
@essen essen added the Bug label Nov 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants