summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/charttypes/GL3DBarChart.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index c5526b17fc19..d681c330763c 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -223,9 +223,10 @@ GL3DBarChart::~GL3DBarChart()
osl::MutexGuard aGuard(maMutex);
mbRenderDie = true;
}
+
if(mpRenderThread.is())
mpRenderThread->join();
- osl::MutexGuard aGuard(maMutex);
+
if(mbValidContext)
mrWindow.setRenderer(NULL);
}