Backport pull request #13601 from jellyfin/release-10.10.z

Delete children from cache on parent delete

Original-merge: 767a5e61930897d6151bf2b5b6c4940a288deb41

Merged-by: Bond-009 <bond.009@outlook.com>

Backported-by: Bond_009 <bond.009@outlook.com>
This commit is contained in:
Bond-009 2025-02-25 15:32:03 -05:00 committed by Bond_009
parent 33e8c18136
commit 1131b051d8

View File

@ -457,6 +457,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 _);