I have an eclipse plugin, which connects to a COM component using Jacob. But after I close the plugin entirely, the .exe file stays hanging in Windows processes.
I use ComThread.InitMTA(true)
for initialization and make sure that SafeRelease()
is called for every COM object I created before closing the app and I call ComThread.Release()
at the very end.
Do I leave something undone?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…