summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-09-09 10:03:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-09-09 17:46:35 +0200
commite700031cc4f60f62d862940cd40de73e32f9104b (patch)
tree1982b11abc030b72e87da356b9df64c8e34abdbc /desktop/source
parent335f7fa8c2ef418df7010dd996a2a32bbbdff459 (diff)
sb140: #i116910# do not leak Thread_Impl from desktop::Acceptor
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/offacc/acceptor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/offacc/acceptor.cxx b/desktop/source/offacc/acceptor.cxx
index dc40670e9535..82139ff489bd 100644
--- a/desktop/source/offacc/acceptor.cxx
+++ b/desktop/source/offacc/acceptor.cxx
@@ -91,6 +91,7 @@ Acceptor::~Acceptor()
m_bDying = true;
m_cEnable.set();
osl_joinWithThread(t);
+ osl_destroyThread(t);
{
// Make the final state of m_bridges visible to this thread (since
// m_thread is joined, the code that follows is the only one left