Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
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: