前页 | 后页 |
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 recommended anyway), you must release them here.
In addition, .NET 用户 must call memory management functions as shown:
GC.Collect();
GC.WaitForPendingFinalizers();