don't unload libgnomevfs.so, this results in a crash on exit later so keep it loaded as a lesser evil (see Gentoo bug 203389)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-01-06 13:14:41 +00:00
parent 2e3d68e97c
commit 7d287e713f

View File

@@ -73,6 +73,12 @@ wxGnomeVFSLibrary::wxGnomeVFSLibrary()
wxGnomeVFSLibrary::~wxGnomeVFSLibrary()
{
// we crash on exit later (i.e. after main() finishes) if we unload this
// library, apparently it inserts some hooks in other libraries to which we
// link implicitly (GTK+ itself?) which are not uninstalled when it's
// unloaded resulting in this crash, so just leave it in memory -- it's a
// lesser evil
m_libGnomeVFS.Detach();
}
bool wxGnomeVFSLibrary::IsOk()