summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-02-16 19:00:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-02-16 19:01:27 +0100
commit81921bec4b81b7e3e87c24a6b4e3cfdd0cced47d (patch)
tree3c6b4f95a8957ef6aa09fb18e2972d34d58be05e /dbaccess
parent4a98b359d8ba392362ac6a40692912b58a3b1544 (diff)
Make sure spawned thread is joined again
...otherwise, it might still run during exit(3) and cause problems.
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/dataaccess/documenteventnotifier.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbaccess/source/core/dataaccess/documenteventnotifier.cxx b/dbaccess/source/core/dataaccess/documenteventnotifier.cxx
index 8d6b90d918a9..24a46a2e776d 100644
--- a/dbaccess/source/core/dataaccess/documenteventnotifier.cxx
+++ b/dbaccess/source/core/dataaccess/documenteventnotifier.cxx
@@ -165,6 +165,7 @@ namespace dbaccess
{
m_pEventBroadcaster->removeEventsForProcessor( this );
m_pEventBroadcaster->terminate();
+ m_pEventBroadcaster->join();
m_pEventBroadcaster = NULL;
}