[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - slideshow/source
Michael Meeks
michael.meeks at collabora.com
Wed Sep 16 05:31:02 PDT 2015
slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 0ff1cd30959b4e2eba9372cfb786c6bf3947bd38
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
Reviewed-on: https://gerrit.libreoffice.org/18609
Reviewed-by: Tor Lillqvist <tml at collabora.com>
Tested-by: Tor Lillqvist <tml at collabora.com>
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
index db50970..f296866 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