Kaydet (Commit) 24f4cd99 authored tarafından Tomas Chvatal's avatar Tomas Chvatal

Fix crash on exit using KDE interface

This is slightly modified version of patch from Lubos Lunak
<llunak@suse.cz>.

This fixes downstream bugs:
https://bugs.gentoo.org/show_bug.cgi?id=394533
https://bugs.launchpad.net/bugs/925049
üst ac08d3f6
......@@ -99,8 +99,10 @@ static SalInstance* tryInstance( const OUString& rModuleBase, bool bForce = fals
/*
* #i109007# KDE3 seems to have the same problem; an atexit cleanup
* handler, which cannot be resolved anymore if the plugin is already unloaded.
* Same applies for kde4.
*/
else if( rModuleBase.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("kde")) )
else if( rModuleBase.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("kde")) ||
rModuleBase.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("kde4")) )
{
pCloseModule = NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment