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

General Improvement PR #ilostcount #183

Merged
merged 7 commits into from
Nov 2, 2018
Merged

General Improvement PR #ilostcount #183

merged 7 commits into from
Nov 2, 2018

Conversation

TheRamenChef
Copy link
Collaborator

No description provided.

Code should never be guided by exceptions. Also fixed the top-priority
constructor.
Use a second executor for the close queue (does it even really need to
have its own thread?)
Specify a custom ThreadFactory for the main executor that assigns a
meaningful name to the threads
Use wait/notify to handle pausing
Change the run method to not require a try/catch block
Don't push a finished event for a sound that was cancelled
Fix a typo
Remove several unneeded try/catch blocks
Also, the set method doesn't need a type parameter.
@nightm4re94
Copy link
Member

That's some sexy stuff right there.

@nightm4re94 nightm4re94 merged commit 2359da7 into gurkenlabs:master Nov 2, 2018
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