зеркало из https://github.com/mozilla/pjs.git
Free the component-location arrays at shutdown.
This commit is contained in:
Родитель
3a9c239ed6
Коммит
325a0ee192
|
@ -112,6 +112,8 @@ $imbalance{'.root'} = 'n/a';
|
|||
|
||||
# The main read loop.
|
||||
|
||||
$/ = '\r\n';
|
||||
|
||||
sub read_data($$$) {
|
||||
my ($INFILE, $plus, $minus) = @_;
|
||||
|
||||
|
@ -189,7 +191,6 @@ sub read_data($$$) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
read_data(*STDIN, "AddRef", "Release");
|
||||
|
||||
if ($::opt_comptrs) {
|
||||
|
|
|
@ -834,6 +834,9 @@ nsresult nsComponentManagerImpl::Shutdown(void)
|
|||
|
||||
mLoaderData.Clear();
|
||||
|
||||
delete sStaticModules;
|
||||
delete sModuleLocations;
|
||||
|
||||
// Unload libraries
|
||||
mNativeModuleLoader.UnloadLibraries();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче