In Enterprise Architect, I can use the .NET C# API to open an EA file and then extract some info. This is working as expected. However, when I'm done extracting info using the EA COM Interop API, and my .NET app is terminated, I still have EA processes running. Thus, when I do
var repo = new EA.RepositoryClass();
repo.OpenFile(@"c:\Test.eapx");
// extract info
I expect to call
repo.Dispose();
or something along those lines. I do have a
repo.CloseFile();
but that does not kill the EA process.
How to cleanup my EA resources?