Stop getting file scanner stuck omg

This commit is contained in:
Loporrit
2025-02-24 01:56:00 +00:00
parent 7aaa847294
commit f7abf9f374
3 changed files with 11 additions and 19 deletions

View File

@@ -671,11 +671,11 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
"this is due to the scanner normally ignoring those files but the game loading them in and using them on your character, so they get " +
"added to the local storage.");
}
else if (_cacheMonitor.HaltScanLocks.Any(f => f.Value > 0))
else if (_cacheMonitor.HaltScanLocks.Any(f => f.Value.Value > 0))
{
ImGui.AlignTextToFramePadding();
ImGui.TextUnformatted("Halted (" + string.Join(", ", _cacheMonitor.HaltScanLocks.Where(f => f.Value > 0).Select(locker => locker.Key + ": " + locker.Value + " halt requests")) + ")");
ImGui.TextUnformatted("Halted (" + string.Join(", ", _cacheMonitor.HaltScanLocks.Where(f => f.Value.Value > 0).Select(locker => locker.Key + ": " + locker.Value.Value)) + ")");
ImGui.SameLine();
if (ImGui.Button("Reset halt requests##clearlocks"))
{