Custom extension needs to shut down ArcGisCacheMgr.exe

Discussion created by bartf on May 14, 2014
We have a custom extension that ArcMap uses.  On opening ArcMap, the extension checks to see if there are any updates to be made.  If there are, the extension shuts down ArcMap and then starts it back up after updating the extension.  The problem we have is the ArcGisCacheMgr.exe process stays loaded and upon reopening ArcMap crashes.  It looks like ArcGisCacheMgr.exe is holding a handle to the dll we replace and causing the problem.  If I manually kill that process or process.kill the process in our extension, the problem is solved.

What is the preferred way to shut down ArcGisCacheMgr when shutting down ArcMap programmatically?