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

Michael Meeks michael.meeks at collabora.com
Tue Sep 15 19:04:02 PDT 2015


 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 625d83e430a4caf35675d2900c11ab6929a8304a
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Wed Sep 16 02:58:16 2015 +0100

    tdf#94006 - need an explicit dispose for slideshow's GLContext.
    
    Fixes crasher exiting slideshow.
    
    Change-Id: I14b6a2c1abc946f590bf91cab19099753172fd95

diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
index ccf12c4..c8cf1f1 100644
--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
@@ -1325,6 +1325,8 @@ void OGLTransitionerImpl::impl_dispose()
 {
     impl_finishTransition();
     disposeTextures();
+    if( mpContext.is() )
+        mpContext->dispose();
     mpContext.clear();
 }
 


More information about the Libreoffice-commits mailing list