mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-14 11:54:15 +01:00
delay start scan to ingame login, show what is halting scans in settings ui and allow resetting it
This commit is contained in:
parent
ff4079a16d
commit
e71bd0d80f
5 changed files with 63 additions and 32 deletions
|
|
@ -235,14 +235,14 @@ namespace MareSynchronos.Managers
|
|||
|
||||
Task.Run(async () =>
|
||||
{
|
||||
_periodicFileScanner.HaltScan();
|
||||
_periodicFileScanner.HaltScan("Character creation");
|
||||
foreach (var item in unprocessedObjects)
|
||||
{
|
||||
_dalamudUtil.WaitWhileCharacterIsDrawing("self " + item.ObjectKind.ToString(), item.Address, 10000, token);
|
||||
}
|
||||
|
||||
CharacterCacheDto? cacheDto = (await CreateFullCharacterCacheDto(token));
|
||||
_periodicFileScanner.ResumeScan();
|
||||
_periodicFileScanner.ResumeScan("Character creation");
|
||||
if (cacheDto == null || token.IsCancellationRequested) return;
|
||||
|
||||
#if DEBUG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue