Well, after a lot of trial by fire I was finally able to resolve this
problem.

So for anyone interested, it turns out that my object is finally
released after calling CoUninitialize() 5 times. Yes, it's that simple.
At least so for Firefox 1.0, Netscape 7.2 and Mozilla 1.7 (on Windows
of course) -- which is fine since those are my target browsers.

Why do I need to call CoUninitialize() 5 times instead of 1? Well, who
knows. It prolly has something to do with CoInitialize() getting called
(4 additional times) inside the same thread by the browsers or some
component other than my plugin. At least that's all I can assume at
this point.

And after some initial testing, calling CoUninitialize() this many
times doesn't appear to have any effect on the browser instance in any
obvious way.

Cheers,
Damian

_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to