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

git-svn-id: svn://10.0.0.236/trunk@135352 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com 2002-12-16 19:26:58 +00:00
parent 5582baff26
commit 8b55c59f57

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
}