Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
EA_Disconnect
Add-Ins can use the EA_Disconnect event to respond to user requests to disconnect the model branch from an external project.
This function is called when 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:
GC.Collect();
GC.WaitForPendingFinalizers();
Syntax
Sub EA_Disconnect()
Return Value
None.
Learn more