-
Notifications
You must be signed in to change notification settings - Fork 595
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
NullReferenceException on AutorecoveringModel.IsClosed #829
Comments
This should be a simple fix, please submit a pull request with a test. Thank you. |
The question is, what is the correct behavior? If the object is disposed, should that return Or should it throw ObjectDisposedException? |
I'd prefer following behavior:
|
@lukebakken I'm quite busy this week so the issue is up for grabs:) |
It would be slightly more user-friendly if |
Yep. Throwing in Property Getters is considered bad practice. |
I'm getting this today. |
RabbitMQ.Client 6.0.0, RabbitMQ.Client.Impl.AutorecoveringModel:
The getter throws null reference for disposed entities. Reason is here:
The text was updated successfully, but these errors were encountered: