Hi, I’ve been getting a lot of “A task was canceled” exceptions recently related to the tile cache.
They happen when turning the visible to invisible & back before it is finished rendering.
This is quite a big performance hit for Point based layers because the Exception is thrown for every single cancelled point. So having a layer with 50 points will throw an exception 50 times.
Is there any way we can improve this? Optimally it should throw 1 exception for the layer.
[System.Threading.Tasks.TaskCanceledException thrown]
System.Private.CoreLib.dll!System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() Unknown
System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task, System.Threading.Tasks.ConfigureAwaitOptions options) Unknown
ThinkGeo.Core.dll!ThinkGeo.Core.TileCache.9UA=.MoveNext() Unknown
ThinkGeo.UI.Wpf.dll!ThinkGeo.UI.Wpf.TileOverlay.OEk=.MoveNext() Unknown