laptop and a wrench

漏洞

The tryFatalErrorRecovery() method does not work as expected as it does not clear any fatal errors resulting from a lost WebGL context.

ArcGIS Maps SDK for JavaScript
漏洞 ID 编号 BUG-000160714
已提交August 16, 2023
上次修改时间December 6, 2024
适用范围ArcGIS Maps SDK for JavaScript
找到的版本4.27
操作系统N/A
操作系统版本N/A
状态Non-Reproducible

附加信息

This is an asynchronous issue. The tryFatalErrorRecovery() method works correctly when a fatal error has occurred. Use view.watch() to look for a fatal error, and then use the tryFatalErrorRecovery() method. Refer to https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#fatalError for more information. view.watch("fatalError", function(error) { if(error) { console.error("Fatal Error! View has lost its WebGL context. Attempting to recover..."); view.tryFatalErrorRecovery(); } });

重现步骤

漏洞 ID: BUG-000160714

软件:

  • ArcGIS Maps SDK for JavaScript

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项