<?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 Custom extension needs to shut down ArcGisCacheMgr.exe in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/custom-extension-needs-to-shut-down-arcgiscachemgr/m-p/566212#M15251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have a custom extension that ArcMap uses.&amp;nbsp; On opening ArcMap, the extension checks to see if there are any updates to be made.&amp;nbsp; If there are, the extension shuts down ArcMap and then starts it back up after updating the extension.&amp;nbsp; The problem we have is the ArcGisCacheMgr.exe process stays loaded and upon reopening ArcMap crashes.&amp;nbsp; It looks like ArcGisCacheMgr.exe is holding a handle to the dll we replace and causing the problem.&amp;nbsp; If I manually kill that process or process.kill the process in our extension, the problem is solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the preferred way to shut down ArcGisCacheMgr when shutting down ArcMap programmatically?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bart&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 May 2014 17:31:16 GMT</pubDate>
    <dc:creator>BartFuqua</dc:creator>
    <dc:date>2014-05-14T17:31:16Z</dc:date>
    <item>
      <title>Custom extension needs to shut down ArcGisCacheMgr.exe</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/custom-extension-needs-to-shut-down-arcgiscachemgr/m-p/566212#M15251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have a custom extension that ArcMap uses.&amp;nbsp; On opening ArcMap, the extension checks to see if there are any updates to be made.&amp;nbsp; If there are, the extension shuts down ArcMap and then starts it back up after updating the extension.&amp;nbsp; The problem we have is the ArcGisCacheMgr.exe process stays loaded and upon reopening ArcMap crashes.&amp;nbsp; It looks like ArcGisCacheMgr.exe is holding a handle to the dll we replace and causing the problem.&amp;nbsp; If I manually kill that process or process.kill the process in our extension, the problem is solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the preferred way to shut down ArcGisCacheMgr when shutting down ArcMap programmatically?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bart&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 17:31:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/custom-extension-needs-to-shut-down-arcgiscachemgr/m-p/566212#M15251</guid>
      <dc:creator>BartFuqua</dc:creator>
      <dc:date>2014-05-14T17:31:16Z</dc:date>
    </item>
  </channel>
</rss>

