Backport pull request #13601 from jellyfin/release-10.10.z
Delete children from cache on parent delete
Original-merge: 767a5e6193
Merged-by: Bond-009 <bond.009@outlook.com>
Backported-by: Bond_009 <bond.009@outlook.com>
This commit is contained in:
@@ -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 _);
|
||||
|
||||
Reference in New Issue
Block a user