Skip to content

Shutdown thread pool in error path.#76

Open
figgles wants to merge 1 commit into
kstyrc:masterfrom
figgles:master
Open

Shutdown thread pool in error path.#76
figgles wants to merge 1 commit into
kstyrc:masterfrom
figgles:master

Conversation

@figgles

@figgles figgles commented Oct 18, 2016

Copy link
Copy Markdown

When there is an error, the thread pool is not correctly shut down. Because the "active" flag is still set to false, close() will not shutdown the pool. This fixes the issue by shutting down the thread pool if there was an error.

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.

1 participant