mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 06:38:36 +00:00
Bug 320324 - Static modules released too late, assertions in GenerateJavaInterfaces, r=darin
This commit is contained in:
parent
506df92353
commit
9bf056b19d
@ -790,6 +790,9 @@ nsresult nsComponentManagerImpl::Shutdown(void)
|
||||
|
||||
mLoaderData.Clear();
|
||||
|
||||
// Free staticm modules
|
||||
mStaticModuleLoader.ReleaseModules();
|
||||
|
||||
// Unload libraries
|
||||
mNativeModuleLoader.UnloadLibraries();
|
||||
|
||||
|
@ -60,10 +60,12 @@ public:
|
||||
mFirst(nsnull)
|
||||
{ }
|
||||
|
||||
~nsStaticModuleLoader() { }
|
||||
|
||||
nsresult Init(nsStaticModuleInfo const *aStaticModules,
|
||||
PRUint32 aModuleCount);
|
||||
|
||||
~nsStaticModuleLoader() {
|
||||
void ReleaseModules() {
|
||||
if (mInfoHash.ops)
|
||||
PL_DHashTableFinish(&mInfoHash);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user