Apply review suggestions

This commit is contained in:
Shadowghost
2026-09-06 08:38:43 +02:00
parent f8470630be
commit 344a6dcd2c
7 changed files with 22 additions and 18 deletions
@@ -368,8 +368,6 @@ namespace Emby.Server.Implementations.IO
return;
}
// The injected service is a singleton, so drop the path before the checks below:
// a change we deliberately do not refresh for still has to read correctly later.
_directoryService.Invalidate(path);
// Ignore certain files, If the parent of an ignored path has a change event, ignore that too
@@ -3723,7 +3723,6 @@ namespace Emby.Server.Implementations.Library
}
}
// The injected service is a singleton, so its listing predates this folder.
_directoryService.Invalidate(virtualFolderPath);
}
finally