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
IConnection Dispose can throw OperationInterruptedException #133
Comments
Questions belong to rabbitmq-users. I can't say anything without seeing your code and a stack trace. Connections should not be closed with |
@micdenny what do you think about making |
Hey @michaelklishin. Apologies for the question style wording. So it looks like I wouldn't really expect these to be thrown from The exception I was getting was the |
@michaelklishin in the previous PR (#121) I did a conservative development, to avoid swallowing to many kind of exception, in fact I will remain of this idea, just adding the catch of What other kind of exception do you/we should expect is thrown by the underline connection? I think we must be conservative and avoid catching the generic Is that make sense for you? |
Sure. I think So, should I go ahead and make both |
to me it's ok 👍 leaving the same behavior, if |
A while back you closed issue #119 that I'd previously worked-around by catching and swallowing
IOException
that could be thrown when callingDispose
on anIConnection
.I've just upgraded to version 3.5.6 but it seems that
Dispose
can still throwOperationInterruptedException
which, judging from the description in #119, isn't intended behaviour?The exception message I sometimes receive is
The AMQP operation was interrupted
. Am I callingDispose
at an inappropriate time perhaps?(Sorry if this is more of a question than an issue)
The text was updated successfully, but these errors were encountered: