mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Fixes crash caused by bug 184548. r=adamlock, sr=darin
This commit is contained in:
parent
a33308d924
commit
dd3b6ee5f7
@ -128,12 +128,13 @@ nsresult NS_COM XPCOMGlueShutdown()
|
||||
xpcomFunctions = nsnull;
|
||||
}
|
||||
|
||||
GlueShutdownMemory();
|
||||
|
||||
if (xpcomLib) {
|
||||
PR_UnloadLibrary(xpcomLib);
|
||||
xpcomLib = nsnull;
|
||||
}
|
||||
|
||||
GlueShutdownMemory();
|
||||
return NS_OK;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user