Skip to content

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 <[email protected]>
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