An error message, "Error: Cannot read property 'scale' of undefined" is shown in the console on double-clicking to stop the animation in ArcGIS API for JavaScript.
This issue is no longer reproducible in the ArcGIS API for JavaScript version 4.18. This can be checked by using the /next CDN. Information on the next version: https://github.com/Esri/feedback-js-api-next