summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2021-06-11 11:50:39 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2021-06-11 16:15:17 +0200
commitfd4bcd5f33fed46cacaa00f90a271b18b6355345 (patch)
treec297ab4b7f1db2510fc97f4fff9ddaeb56b1f478
parent57796f2724f004679f78eb144a93b9a03968317c (diff)
qt5/kf5: Fix crash on exit
This extends the solution from commit fa8db25af6218262b3dab2e93b76464975889ceb Date: Thu Jun 3 20:47:10 2021 +0100 gtk4 crash on exit to cover the qt5/kf5 cases as well, after seeing equivalent crashes with kf5 VCL plugin (e.g. when starting Writer and no profile exists) after commit 556243467a0ac3f647de75bf3fb6c9f3b72466a4 Date: Wed Jun 2 13:06:54 2021 +0200 fix shutdown leak in CppunitTest_sw_filters_test Change-Id: I4ef25bac0891c059588dbc8e6abe50db14230dea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117042 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
-rw-r--r--vcl/source/app/salplug.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/app/salplug.cxx b/vcl/source/app/salplug.cxx
index 3b48574be7f7..d281b797c5a9 100644
--- a/vcl/source/app/salplug.cxx
+++ b/vcl/source/app/salplug.cxx
@@ -107,7 +107,8 @@ SalInstance* tryInstance( const OUString& rModuleBase, bool bForce = false )
* atk-bridge's atexit handler gets called.
*/
if (aUsedModuleBase == "gtk4" || aUsedModuleBase == "gtk3" ||
- aUsedModuleBase == "gtk3_kde5" || aUsedModuleBase == "win")
+ aUsedModuleBase == "gtk3_kde5" || aUsedModuleBase == "kf5" ||
+ aUsedModuleBase == "qt5" || aUsedModuleBase == "win")
{
pCloseModule = nullptr;
}