aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/LibraryManager.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-09-04 19:28:59 +0200
committerShadowghost <Ghost_of_Stone@web.de>2026-09-04 19:28:59 +0200
commit46dd7d8e99ff7167d2d175878896294ed823927f (patch)
treeb7073a3dbbe5c4a367b44d58537086b38c1e9127 /Emby.Server.Implementations/Library/LibraryManager.cs
parent0d9c9c9eccf2f547f824ad47f2038c378930fdd2 (diff)
Invalidate the singleton DirectoryService cache on filesystem changes
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
-rw-r--r--Emby.Server.Implementations/Library/LibraryManager.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs
index 0ced650587..80e89b4305 100644
--- a/Emby.Server.Implementations/Library/LibraryManager.cs
+++ b/Emby.Server.Implementations/Library/LibraryManager.cs
@@ -3723,8 +3723,7 @@ namespace Emby.Server.Implementations.Library
}
}
- // The validation below would otherwise resolve the libraries root from a listing
- // taken before this folder was created.
+ // The injected service is a singleton, so its listing predates this folder.
_directoryService.Invalidate(virtualFolderPath);
}
finally