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

Ensures connection recovery does not keep going after the connection … #295

Merged
merged 3 commits into from
Dec 8, 2016

Conversation

kjnilsson
Copy link
Contributor

…has been manually closed.

Fixes #294

So this involved more changes than I initially thought. Close and Abort now first checks if the connection IsOpen before attempting to close it. This is needed as otherwise Close would just throw if it was called during recovery which seems unnecessary to me unless this is semantics we want to keep?

@michaelklishin
Copy link
Member

Started a discussion in #294 to not limit it to just this approach.

@michaelklishin michaelklishin self-assigned this Dec 7, 2016
@michaelklishin michaelklishin merged commit 3fe6446 into master Dec 8, 2016
@lukebakken lukebakken deleted the rabbitmq-dotnet-client-294 branch January 24, 2020 17:45
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.

Closing an AutoRecoveringConnection does not stop it from continuing recovery forever
2 participants