loolwsd/LOOLWSD.cpp | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 6c209cefb1f798f428bc3232b43c3d2d4f1745fa
Author: Henry Castro <[email protected]>
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)
{
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits