You have a plugin? You should be notified by the plugin manager - your
nsIPlugin::Shutdown should get called at xpcom-shutdown.
On Sat, 16 Jun 2001 14:55:55 +0200, "Marius Mikucionis"
<[EMAIL PROTECTED]> wrote:
>Hello, I am stuck on the browser close problem.
>I don't know what method to use to free the resources from plugin dll.
>The solution with Process Detach in DllMain is not good since
>I need to release MSCOM objects and the OLE seems to be already Uninitilized at that
>time.
>
>So I wrote a nsIShutdownListener and registered it with this line:
>
>nsServiceManager::GetService(
> "@mozilla.org/docloaderservice;1",
> NS_GET_IID(nsIDocumentLoader),
> (nsISupports**) &docl,
> shutdownListener
>);
>
>But the OnShutdown method is never called even if the browser is successfully closed.
>I have tried other services, those does not work too.
>What can be wrong?
>Are the ShutdownListeners going to be deprecated??
>
>