EA_Disconnect

Return to Introduction  Previous page  Next page

The EA_Disconnect event enables the Add-In to respond to user requests to disconnect the model branch from an external project.

Syntax

Sub EA_Disconnect()

Return Value

None

Details

This function is called when the Enterprise Architect closes. If you have stored references to Enterprise Architect objects (not particularly recommended anyway), you must release them here.

 

In addition, .NET users must call memory management functions as shown below:

 

GC.Collect();

GC.WaitForPendingFinalizers();

See Also