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

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options