summaryrefslogtreecommitdiff
path: root/extensions/source
diff options
context:
space:
mode:
authorDirk Voelzke <dv@openoffice.org>2010-07-21 15:34:30 +0200
committerDirk Voelzke <dv@openoffice.org>2010-07-21 15:34:30 +0200
commit937ab5809861b0d185bc86bb9674f0c3f0da4a28 (patch)
treec81d005ce5a6dedc1c6c8ea2a047c97bfa761d6b /extensions/source
parentc2af8fa19926739c6d84de8e8e73b6cfadc786ab (diff)
dv19#i111166# removed extra dispose, join with thread before shut down
Diffstat (limited to 'extensions/source')
-rwxr-xr-x[-rw-r--r--]extensions/source/update/check/updatecheckjob.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/source/update/check/updatecheckjob.cxx b/extensions/source/update/check/updatecheckjob.cxx
index 2444637515d4..e3dd1ebeabf9 100644..100755
--- a/extensions/source/update/check/updatecheckjob.cxx
+++ b/extensions/source/update/check/updatecheckjob.cxx
@@ -331,9 +331,10 @@ void SAL_CALL UpdateCheckJob::notifyTermination( lang::EventObject const & rEvt
throw ( uno::RuntimeException )
{
if ( m_pInitThread.get() != 0 )
+ {
m_pInitThread->setTerminating();
-
- disposing( rEvt );
+ m_pInitThread->join();
+ }
}
} // anonymous namespace