diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-09-16 02:58:16 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-09-16 03:12:16 +0100 |
commit | 625d83e430a4caf35675d2900c11ab6929a8304a (patch) | |
tree | 67f8b5726b94d6e7e4524199cb2c2a0ef2b591c8 | |
parent | 6f0f4ee720ef1e8262731f59f254b83d5bdd058c (diff) |
tdf#94006 - need an explicit dispose for slideshow's GLContext.
Fixes crasher exiting slideshow.
Change-Id: I14b6a2c1abc946f590bf91cab19099753172fd95
-rw-r--r-- | slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx index ccf12c465d63..c8cf1f1c7c08 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(); } |