diff --git a/Harmonia.Core/Caching/Cache.cs b/Harmonia.Core/Caching/Cache.cs index 5b36a31..364a4b2 100644 --- a/Harmonia.Core/Caching/Cache.cs +++ b/Harmonia.Core/Caching/Cache.cs @@ -60,7 +60,7 @@ public abstract class Cache : ICache where TKey : no if (lockAcquired) lockObject.Release(); - _locks.TryRemove(lockObject, out _); + _locks.TryRemove(actualKey, out _); if (throttlerAcquired) _throttler.Release();