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

Henry Castro hcastro at collabora.com
Sat Aug 8 05:21:02 PDT 2015


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

New commits:
commit 7aeca2f92b23cf3c247eaec260a7885c3912ab17
Author: Henry Castro <hcastro at collabora.com>
Date:   Sat Aug 8 08:20:16 2015 -0400

    loolwsd: destroy LOKit when child finished

diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index 6988e11..798428c 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -825,6 +825,9 @@ void LOOLWSD::componentMain()
         queue.clear();
         queue.put("eof");
         queueHandlerThread.join();
+
+        // Destroy LibreOfficeKit
+        loKit->pClass->destroy(loKit);
     }
     catch (Exception& exc)
     {


More information about the Libreoffice-commits mailing list