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

Exception in Node constructor doesn't shutdown services properly #12587

Closed
kwart opened this issue Mar 14, 2018 · 0 comments
Closed

Exception in Node constructor doesn't shutdown services properly #12587

kwart opened this issue Mar 14, 2018 · 0 comments

Comments

@kwart
Copy link
Contributor

@kwart kwart commented Mar 14, 2018

When an exception occurs in Node constructor after initializing some services, the services are not properly terminated. It can lead to thread leaks (e.g. hazelcast/hazelcast-enterprise#1978).

Suggested fix:
In case of exception in constructor shutdown properly all the already initialized services.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.