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

shut down gun process when it is not used anymore #152

Merged
merged 2 commits into from
May 7, 2020

Conversation

rbao
Copy link
Contributor

@rbao rbao commented Apr 2, 2020

Right now :gun process is not returned to the caller and also not getting shutdown when connection errors, this leads to orphan process and potential memory leak. The gun process will also keep attempting to reconnect but even it if it did reconnect there is no way to actually use it.

This PR shutdown the process when it is not used.

@tony612 tony612 merged commit d8a58cc into elixir-grpc:master May 7, 2020
lizziepaquette pushed a commit to brexhq/grpc-elixir that referenced this pull request Feb 11, 2021
lizziepaquette added a commit to brexhq/grpc-elixir that referenced this pull request Feb 12, 2021
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