AnsweredAssumed Answered

TaskCanceledException on shutdown

Question asked by chris4321 on Feb 28, 2018
Latest reply on Mar 15, 2018 by chris4321

I'm getting a TaskCanceledException when I shut down my application. Stack trace below. I'm using 100.2.1 on Windows 10 x64. In my current scenario I have one basemap layer (local tpk file) and a few graphics overlays that contain graphics that are being updated at ~1Hz.

 

Thoughts on what may be causing this or how to prevent it? Thank you.

 

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
   at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
   at System.Windows.Threading.Dispatcher.Invoke(Action callback)
   at Esri.ArcGISRuntime.UI.Controls.GeoView.RuntimeCoreNet.ICoreCallback_GeoView_LockSurface.UnlockSurfaceRequested(Boolean wasResized)
   at RuntimeCoreNet.CoreDxDevice.OnPrivateCoreGeoView_UnlockSurfaceRequested(Boolean wasResized)

Outcomes