summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-07-23 22:54:31 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-07-23 22:58:10 +0200
commit5e72b7b77e77561fe965b0c5a3446d4fdb99503f (patch)
tree491e592d9709d1c5b94645873a4ebc792d566eaf /chart2
parent453aeef36c8455ecbb5ef4e58109b4610d5ba243 (diff)
fix one more deadlock
Change-Id: I1e8e24735f6a57982834f84b26042b7082fa4410
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 16ace2395fcb..c5526b17fc19 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -669,10 +669,11 @@ void GL3DBarChart::moveToCorner()
return;
}
- osl::MutexGuard aGuard(maMutex);
if(mpRenderThread.is())
mpRenderThread->join();
+ osl::MutexGuard aGuard(maMutex);
+
Size aSize = mrWindow.GetSizePixel();
mrWindow.getContext().setWinSize(aSize);
mpRenderThread = rtl::Reference<RenderThread>(new RenderAnimationThread(this, getCornerPosition(mnCornerId),