You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
I have simple session enabled subscription consumed by following code snippet
Processing of messages takes longer than MaxAutoRenewDuration
After processing of the first message the pump gets stuck and no other messages are processed
Expected Behavior
Message processing will continue with another session
Discovered bug
From debugging it looks like a bug in method SessionReceivePump.MessagePumpTaskAsync in finally block.
When calling CancelAndDisposeCancellationTokenSource(renewLockCancellationTokenSource); there is a ObjectDisposedException and because of that this.maxConcurrentSessionsSemaphoreSlim.Release(); is not called and pump gets stuck while waiting on semaphore release.
Versions
OS platform and version: Windows 10
.NET Version: .NET Core 2.1
NuGet package version or commit ID: both 3.2 and 3.4
Actual Behavior
Expected Behavior
Discovered bug
Versions
Might be related to issue #595.
The text was updated successfully, but these errors were encountered: