[Libreoffice-commits] core.git: vcl/source

Bjoern Michaelsen bjoern.michaelsen at canonical.com
Tue Apr 12 22:34:16 UTC 2016


 vcl/source/app/svmain.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit b581b8e507107c7a7dfaccc498878d714631ad3a
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date:   Tue Apr 12 23:23:51 2016 +0200

    lp#1560328: clear cache before disposing rest of VCL
    
    Change-Id: Iac325cf934953c61cb4dbbb67cfbab1777dc45cc
    Reviewed-on: https://gerrit.libreoffice.org/24038
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>

diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index e2e2ffd..bc0cbec 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -348,6 +348,9 @@ VCLUnoWrapperDeleter::disposing(lang::EventObject const& /* rSource */)
 void DeInitVCL()
 {
     ImplSVData* pSVData = ImplGetSVData();
+    // lp#1560328: clear cache before disposing rest of VCL
+    if(pSVData->mpBlendFrameCache)
+        pSVData->mpBlendFrameCache->m_aLastResult.Clear();
     pSVData->mbDeInit = true;
 
     vcl::DeleteOnDeinitBase::ImplDeleteOnDeInit();


More information about the Libreoffice-commits mailing list