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

New commits:
commit 1e031d768392e6f45a8dfee558e2951c6bda0eda
Author: Bjoern Michaelsen <bjoern.michael...@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/24039
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>

diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 952ac03..41243b6 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -335,6 +335,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();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to