You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ji...@apache.org on 2020/12/07 14:52:46 UTC

[openoffice] branch AOO42X updated: Leaking threads here...

This is an automated email from the ASF dual-hosted git repository.

jim pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 4f730c6  Leaking threads here...
4f730c6 is described below

commit 4f730c6778a17d16ffed54833d4de5f2031ce983
Author: Jim Jagielski <ji...@gmail.com>
AuthorDate: Mon Dec 7 09:36:03 2020 -0500

    Leaking threads here...
    
    (cherry picked from commit b47e2ce07e6b9fefd156033b0b09ec29b9dff4a2)
---
 main/desktop/source/offacc/acceptor.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main/desktop/source/offacc/acceptor.cxx b/main/desktop/source/offacc/acceptor.cxx
index ea812a3..1568eaa 100644
--- a/main/desktop/source/offacc/acceptor.cxx
+++ b/main/desktop/source/offacc/acceptor.cxx
@@ -89,6 +89,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