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 abnormal termination on exit after playback on MacOS #23

Closed

Conversation

RichardAntalik
Copy link

Caused by thread being joinable when class was destroyed.

Join thread in destructor without trying to close the audio device,
since this is done in it's destructor.

Reported in Blender tracker: https://projects.blender.org/blender/blender/issues/121015

Caused by thread being joinable when class was destroyed.

Join thread in destructor without trying to close the audio device,
since this is done in it's destructor.
@neXyon
Copy link

neXyon commented May 2, 2024

Sorry, I didn't check your code properly for thread safety the first time. There are still multiple issues left with this patch. I tried to implement a thread safe version, but lacking a Mac and this not being used in the other devices, I didn't test it. Could you please give it a try and tell me if it works: #24

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.

None yet

2 participants