neon-sunset / fast-cache

The fastest cache library written in C# for items with set expiration time. Easy to use, thread-safe and light on memory.
https://www.nuget.org/packages/FastCache.Cached/
MIT License
88 stars 8 forks source link

IndexOutOfRangeException sometimes crash my app #89

Closed m0nax3 closed 9 months ago

m0nax3 commented 9 months ago

version: 1.8.1 ---exception--- CoreCLR Version: 8.0.23.53103 .NET Version: 8.0.0 Description: The process was terminated due to an unhandled exception. Exception Info: System.IndexOutOfRangeException: Index was outside the bounds of the array. at FastCache.Services.CacheManager.g__ExecuteTrim|8_0[K,V](UInt32 trimCount, Boolean takeLock) at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

neon-sunset commented 9 months ago

Should be fixed by https://github.com/neon-sunset/fast-cache/releases/tag/1.8.2.

If not, please reopen the issue.

Thanks.