mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-28 14:43:59 +02:00
Merge pull request #13601 from Bond-009/deleteChild
Delete children from cache on parent delete
This commit is contained in:
commit
767a5e6193
1 changed files with 1 additions and 0 deletions
|
|
@ -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 _);
|
||||
|
|
|
|||
Loading…
Reference in a new issue