Frequently asked question

When do COM references have to be released?

Last Published: April 25, 2020

Answer

In .NET ArcGIS Engine applications, to ensure a COM object is released when it goes out of scope, use the ComReleaser class for all singletons. The ComReleaser class can be found in the ESRI.ArcGIS.ADF.dll assembly.
Note:
Explicitly releasing COM references is not necessary for ArcGIS Desktop applications.

Article ID:000009965

Software:
  • ArcGIS Engine

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic