Skip to content
Snippets Groups Projects
Commit a5ed4d11 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Reset dictionary when re-scanning grace location

Relates to #20
parent 450065e8
No related branches found
No related tags found
No related merge requests found
...@@ -164,6 +164,7 @@ namespace ATxCommon ...@@ -164,6 +164,7 @@ namespace ATxCommon
return; return;
Log.Debug("Updating storage status: checking grace location..."); Log.Debug("Updating storage status: checking grace location...");
_expiredDirs.Clear();
foreach (var userdir in _graceLocation.GetDirectories()) { foreach (var userdir in _graceLocation.GetDirectories()) {
var expired = new List<DirectoryDetails>(); var expired = new List<DirectoryDetails>();
foreach (var subdir in userdir.GetDirectories()) { foreach (var subdir in userdir.GetDirectories()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment