summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-12-16 17:06:42 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-12-16 17:14:35 +0100
commitc5cf78e1529970c04e1999e1f96f3e374ecd211e (patch)
tree300f2baaf448ccf3fad8b4bb2864c3c2ca45d9f0 /vcl/source
parent9bdfd1fa4dde2f4901900f7447b588c2640ff3f4 (diff)
Properly join spawned GrammarCheckingIterator thread.
It was still running during shutdown of sw_complex's checkFlies test, causing problems. For this to work, Desktop::DeInit needs to be called with SolarMutex unlocked, which looks like the right way, anyway. Hopefully it does not unearth another round of bugs...
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/svmain.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 5ab01b9ca3e6..cf98fb8a0b6a 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -489,10 +489,14 @@ void DeInitVCL()
pSVData->maAppData.mxMSF.clear();
if( pSVData->mpApp )
+ {
+ sal_uLong nCount = Application::ReleaseSolarMutex();
// call deinit to deinitialize application class
// soffice/sfx implementation disposes the global service manager
// Warning: After this call you can't call uno services
pSVData->mpApp->DeInit();
+ Application::AcquireSolarMutex(nCount);
+ }
if ( pSVData->maAppData.mpSettings )
{
femode&id=e7b2b505951d888d8b2337df991bd584090c9384'>Fix https://-related crashes.Jan Holesovsky 2013-04-15adapt all externals to build against MSVC debug runtimeMichael Stahl 2013-03-31fix gold warning about hidden symbolsPeter Foley 2013-03-21TypoTor Lillqvist 2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks 2013-02-28remove all d.lstMichael Stahl 2013-02-28openssl: unset MAKEFLAGS on !MSC as wellMiklos Vajna 2013-02-22quiet external module build log unless failureNorbert Thiebaud 2013-01-03Fix typo: s/VISIBILTIY/VISIBILITY/Tor Lillqvist 2012-12-31fix postgresql on winPeter Foley 2012-12-31convert openssl to gbuild and add to tail_buildPeter Foley 2012-10-07fix for openssl with MSVC when ccache is enabledPeter Foley 2012-08-16fix openssl build with VS2012Peter Foley