diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-23 13:44:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-23 16:04:32 +0200 |
commit | 1ed765c818af2186e459c5ad0eff24dc39a20d34 (patch) | |
tree | b3e623a9ca8b0d4eeafb0bbb35099ddb90ea08c7 /vcl/source | |
parent | d4bc98c5bf8d099ab1df32cc8ac30169ac537e62 (diff) |
tdf#155235 workaround gtk3 accessiblibility crashes on close
we are still working around the problem here, which is that various bit
are not firing accessibility events when their children change.
So clear the static map in comphelper on shutdown, to prevent crashes
resulting from objects being kept alive after vcl has shutdown
Change-Id: I3ae216b345a1bb4cb4e3fde3527e4d4aa5968f76
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152161
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/app/svmain.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx index ab461912724f..5bccf3e3a0c4 100644 --- a/vcl/source/app/svmain.cxx +++ b/vcl/source/app/svmain.cxx @@ -27,6 +27,7 @@ #include <desktop/exithelper.h> +#include <comphelper/accessibleeventnotifier.hxx> #include <comphelper/processfactory.hxx> #include <comphelper/asyncnotification.hxx> #include <i18nlangtag/mslangid.hxx> @@ -596,6 +597,8 @@ void DeInitVCL() pSVData->maGDIData.maThemeDrawCommandsCache.clear(); pSVData->maGDIData.maThemeImageCache.clear(); + comphelper::AccessibleEventNotifier::shutdown(); + // Deinit Sal if (pSVData->mpDefInst) { |