mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 04:03:47 +00:00
bug 408122 keep necessary dynamic libraries open for atexit callbacks r=ted
--HG-- extra : rebase_source : 24fff4b3b3c6b614a2be23da8832f60c2f399416
This commit is contained in:
parent
48f0d247ca
commit
87c64d3e31
@ -267,7 +267,7 @@ static void LoadProxyinfo()
|
||||
|
||||
g_object_unref(conf);
|
||||
|
||||
dlclose(gconfLib);
|
||||
// Don't dlclose gconfLib as libORBit-2 uses atexit().
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -637,10 +637,9 @@ bool UIInit()
|
||||
|
||||
void UIShutdown()
|
||||
{
|
||||
if (gnomeLib)
|
||||
dlclose(gnomeLib);
|
||||
if (gnomeuiLib)
|
||||
dlclose(gnomeuiLib);
|
||||
// Don't dlclose gnomeLib as libgnomevfs and libORBit-2 use atexit().
|
||||
}
|
||||
|
||||
void UIShowDefaultUI()
|
||||
|
Loading…
x
Reference in New Issue
Block a user