Fixes crash caused by bug 184548. r=adamlock, sr=darin

This commit is contained in:
dougt%netscape.com 2002-12-16 19:26:58 +00:00
parent a33308d924
commit dd3b6ee5f7

View File

@ -128,12 +128,13 @@ nsresult NS_COM XPCOMGlueShutdown()
xpcomFunctions = nsnull;
}
GlueShutdownMemory();
if (xpcomLib) {
PR_UnloadLibrary(xpcomLib);
xpcomLib = nsnull;
}
GlueShutdownMemory();
return NS_OK;
#endif
}