AL 9 - Plugin does not release Arclogic on exit

533
1
03-01-2012 09:18 AM
RizwanBashir
New Contributor
Hi
   I have written a plugin which loops through routes and do some processing. Once completed, it closes the loaded form properly (as per my understanding) on destroy event I have       
Marshal.ReleaseComObject(m_app);
+ I also tried
ESRI.ArcGIS.ADF.ComReleaser.ReleaseCOMObject(m_app)


now when Arclogistic is closed in XP it closes properly however in Windows 7 it keeps running in background whcih is a problem.


so summary of above is , in windows 7 my plugin does not release com object and arclogistic keep running in background.

Any idea would be highly appreciated.

Best Regards
Rizwan Bashir
0 Kudos
1 Reply
RizwanBashir
New Contributor
Hi All
   I would like to take this issue back, it was my coding problem where I copy/pasted one plugin to create other, I forgot to change the ID of plugin , so it was same for two plugins on my machine . I changed the ID , built again and it started working fine.

Thanks
Best Regards
Rizwan Bashir
0 Kudos