[Libreoffice-commits] online.git: loolwsd/LOOLWSD.cpp

Henry Castro hcastro at collabora.com
Tue Dec 8 17:30:59 PST 2015


 loolwsd/LOOLWSD.cpp |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 6c209cefb1f798f428bc3232b43c3d2d4f1745fa
Author: Henry Castro <hcastro at collabora.com>
Date:   Tue Dec 8 21:30:39 2015 -0400

    loolwsd: wait to finish lo_startmain thread

diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index 5f0e89d..8838a22 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -1062,6 +1062,9 @@ void LOOLWSD::componentMain()
 
         // Destroy LibreOfficeKit
         loKit->pClass->destroy(loKit);
+
+        // wait to finish lo_startmain thread
+        pthread_exit(0);
     }
     catch (Exception& exc)
     {


More information about the Libreoffice-commits mailing list