I am seeing an AbortError when calling `destroy()` on a GeoJSONLayer immediately after changing its definitionExpression to remove all features from view. The error does not appear to affect the functionality but it is unexpected. I am guessing the definitionExpression change triggers an async function that gets called after the layer is destroyed.
Here is an example of the error (open dev tools to see the error):
https://codepen.io/coxfsi/pen/abKeNva?editors=1000
Can we safely ignore this error, since it gives no details on what the actual problem can be?
Hi there,
You can safely ignore the error. We will investigate where the issue comes from and make sure we properly process the error for it to not show up.
We fixed this Issue at 4.26. You can test the fix on our next release by the end of this week by pointing your app to: <script src="https://js.arcgis.com/next/"></script>
-Undral
I am still seeing this error in 4.29.5. I see it when I modify a layer's renderer right before removing the layer.