Merge pull request #13601 from Bond-009/deleteChild

Delete children from cache on parent delete
This commit is contained in:
Bond-009 2025-02-25 21:28:04 +01:00 committed by GitHub
commit 767a5e6193
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -454,6 +454,7 @@ namespace Emby.Server.Implementations.Library
foreach (var child in children)
{
_itemRepository.DeleteItem(child.Id);
_cache.TryRemove(child.Id, out _);
}
_cache.TryRemove(item.Id, out _);