Skip to content

Address ObjectDisposedException #1809

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

Merged
merged 1 commit into from
Mar 15, 2025
Merged

Conversation

lukebakken
Copy link
Collaborator

Address ObjectDisposedException

Fixes #1802

  • Start by modifying channel creation program to try and reproduce the issue.

@lukebakken lukebakken marked this pull request as draft March 11, 2025 22:47
@lukebakken lukebakken self-assigned this Mar 11, 2025
@lukebakken lukebakken added this to the 7.1.2 milestone Mar 11, 2025
@lukebakken lukebakken marked this pull request as ready for review March 14, 2025 15:35
@lukebakken lukebakken force-pushed the rabbitmq-dotnet-client-1802 branch 2 times, most recently from 0f2b643 to b63e9af Compare March 15, 2025 16:12
Fixes #1802

* Start by modifying channel creation program to try and reproduce the issue.
* Handle cancellation token edge case (immediately canceled) in connection and channel `CloseAsync`
* Better cancellation token handling in `CloseAsync`
* Add test to reproduce continuation timeout.
* Add code to take note of `OperationCanceledException` exceptions and indicate RPC errors.
* Use a queue of `ProtocolCommandId` values to keep track of RPC commands that have timed out.

Co-authored-by: Paulo Morgado <470455+paulomorgado@users.noreply.github.com>
@lukebakken lukebakken force-pushed the rabbitmq-dotnet-client-1802 branch from b63e9af to 9a8d57e Compare March 15, 2025 16:19
@lukebakken lukebakken merged commit 9fbdee5 into main Mar 15, 2025
16 checks passed
@lukebakken lukebakken deleted the rabbitmq-dotnet-client-1802 branch March 15, 2025 23:54
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.

ObjectDisposedException persists
2 participants