diff options
-rwxr-xr-x[-rw-r--r--] | extensions/source/update/check/updatecheckjob.cxx | 5 |
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 |