Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@schroeji
Copy link

Description

The SDL_SYS_WaitThread function is patched to ignore threads in zombie state. This is to prevent segmentation faults.

Existing Issue(s)

#4950

Copy link
Contributor

@Kontrabant Kontrabant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One issue above.

@cgutman
Copy link
Collaborator

cgutman commented Nov 13, 2021

I don't think this fix is correct. Zombie threads need to be joined to cleanup resources since SDL creates joinable threads. This will create a memory leak.

@schroeji schroeji closed this Nov 13, 2021
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.

3 participants