diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-02-16 19:00:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-02-16 19:01:27 +0100 |
commit | 81921bec4b81b7e3e87c24a6b4e3cfdd0cced47d (patch) | |
tree | 3c6b4f95a8957ef6aa09fb18e2972d34d58be05e /dbaccess | |
parent | 4a98b359d8ba392362ac6a40692912b58a3b1544 (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.cxx | 1 |
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; } |