We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I cannot always reproduce this, but this happens in my concurrent test code and my business code is using MemoryLockFactory from EasyCaching.Core.
System.ObjectDisposedException: Cannot access a disposed object. Object name: 'System.Threading.SemaphoreSlim'. at System.Threading.SemaphoreSlim.WaitAsync(Int32 millisecondsTimeout, CancellationToken cancellationToken) at EasyCaching.Core.DistributedLock.MemoryLock.LockAsync(Int32 millisecondsTimeout, CancellationToken cancellationToken)
try { if (await distributedLock.LockAsync(3000)) { ... } else { throw new Exception("xxx"); } } finally { await distributedLock.ReleaseAsync(); }
The text was updated successfully, but these errors were encountered:
@albertwoo Thanks for your interest in this project.
We will take a look ASAP.
Sorry, something went wrong.
Memoyu
No branches or pull requests
Description
I cannot always reproduce this, but this happens in my concurrent test code and my business code is using MemoryLockFactory from EasyCaching.Core.
Related code
Specifications
The text was updated successfully, but these errors were encountered: