fix issue with unlimited redraws hanging when using /penumbra redraw all

This commit is contained in:
Stanley Dimant
2022-07-27 01:11:35 +02:00
parent a36424d57b
commit 5aeaef6ea7

View File

@@ -110,8 +110,8 @@ namespace MareSynchronos.Managers
Logger.Verbose("Building Cache for " + unprocessedObject.ObjectKind);
PermanentDataCache = _characterDataFactory.BuildCharacterData(PermanentDataCache, unprocessedObject.ObjectKind, unprocessedObject.Address, token);
unprocessedObject.IsProcessing = false;
token.ThrowIfCancellationRequested();
unprocessedObject.HasUnprocessedUpdate = false;
token.ThrowIfCancellationRequested();
}
while (!PermanentDataCache.IsReady && !token.IsCancellationRequested)