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

Ref-count the global thread pool #508

Merged
merged 1 commit into from
Oct 19, 2020
Merged

Conversation

jpcima
Copy link
Collaborator

@jpcima jpcima commented Oct 19, 2020

Closes the thread pool when the synth is closed, instead of the static destructor.
Appears to fix the deadlock on Windows.

@jpcima
Copy link
Collaborator Author

jpcima commented Oct 19, 2020

@kinwie, this is expected to take care of the closing issue.
Tried here on windows 7 32-bit.

@kinwie
Copy link

kinwie commented Oct 19, 2020

@jpcima Yes, checked on my side. It is fixed, thanks!

@jpcima jpcima merged commit 11fd2f3 into sfztools:develop Oct 19, 2020
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.

2 participants