mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-13 15:24:14 +01:00
fix issue when penumbra mod folder contains a part of the path of cache folder
This commit is contained in:
parent
9142b2bee4
commit
afb1cf1429
5 changed files with 29 additions and 19 deletions
|
|
@ -211,7 +211,8 @@ public class PeriodicFileScanner : IDisposable
|
|||
{
|
||||
if (ct.IsCancellationRequested) return;
|
||||
|
||||
_ = _fileDbManager.CreateFileCacheEntity(file.Key);
|
||||
var entry = _fileDbManager.CreateFileEntry(file.Key);
|
||||
if (entry == null) _ = _fileDbManager.CreateCacheEntry(file.Key);
|
||||
Interlocked.Increment(ref currentFileProgress);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue