<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Bug - calling view / map destroy, and forcibly deleting the map node does not free the resources in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-calling-view-map-destroy-and-forcibly-deleting/m-p/1335791#M82414</link>
    <description>&lt;P&gt;Good Day&lt;BR /&gt;&lt;BR /&gt;I've reported this several times in the past, so this isn't new, but when is the bug that prevents the maps from being fully deleted going to be rectified?&amp;nbsp; According to the documentation when you call .destroy on the map or view, all the resources should get cleaned up, but as confirmed many times they don't.&lt;BR /&gt;&lt;BR /&gt;There's also a second part to this where if you delete the node that houses that map, the resources still aren't cleaned up.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To be clear, I'm talking about this list of resources:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndrewMurdoch1_0-1696605015492.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82499i656DA503CA22BEA2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndrewMurdoch1_0-1696605015492.png" alt="AndrewMurdoch1_0-1696605015492.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I know the “accepted” workaround is to use a store, so you can reuse the same map context, but it would be better if the base functionality was corrected, and you could fully remove the map and all held resources.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is this something that's planning to be fixed in 4.28?&amp;nbsp; As of 4.27.6 this issue is still active, and while you can heavily mitigate the amount of resources left behind, it would be better if a full destruction was possible.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2023 15:10:48 GMT</pubDate>
    <dc:creator>AndrewMurdoch1</dc:creator>
    <dc:date>2023-10-06T15:10:48Z</dc:date>
    <item>
      <title>Bug - calling view / map destroy, and forcibly deleting the map node does not free the resources</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-calling-view-map-destroy-and-forcibly-deleting/m-p/1335791#M82414</link>
      <description>&lt;P&gt;Good Day&lt;BR /&gt;&lt;BR /&gt;I've reported this several times in the past, so this isn't new, but when is the bug that prevents the maps from being fully deleted going to be rectified?&amp;nbsp; According to the documentation when you call .destroy on the map or view, all the resources should get cleaned up, but as confirmed many times they don't.&lt;BR /&gt;&lt;BR /&gt;There's also a second part to this where if you delete the node that houses that map, the resources still aren't cleaned up.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To be clear, I'm talking about this list of resources:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndrewMurdoch1_0-1696605015492.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82499i656DA503CA22BEA2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndrewMurdoch1_0-1696605015492.png" alt="AndrewMurdoch1_0-1696605015492.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I know the “accepted” workaround is to use a store, so you can reuse the same map context, but it would be better if the base functionality was corrected, and you could fully remove the map and all held resources.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is this something that's planning to be fixed in 4.28?&amp;nbsp; As of 4.27.6 this issue is still active, and while you can heavily mitigate the amount of resources left behind, it would be better if a full destruction was possible.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 15:10:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-calling-view-map-destroy-and-forcibly-deleting/m-p/1335791#M82414</guid>
      <dc:creator>AndrewMurdoch1</dc:creator>
      <dc:date>2023-10-06T15:10:48Z</dc:date>
    </item>
  </channel>
</rss>

