This document is archived and information here might be outdated. Recommended version. |
Shutdown method. This should be the last call to ArcObjects in an application.
[Visual Basic .NET]
Public Sub Shutdown ( _
)
[C#]
public void Shutdown (
);
[C++]
HRESULT Shutdown(
void
);
Before an application is shut down the AOInitialize object must be shut down. This ensures that any ESRI libraries that have been used are unloaded in the correct order. Failure to do this may result in random crashes on exit due to the operating system unloading the libraries in the incorrect order.