[Libreoffice-commits] online.git: Branch 'private/hcvcastro/forking' - loolwsd/LOOLKit.cpp

Henry Castro hcastro at collabora.com
Fri Aug 7 05:37:40 PDT 2015


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

New commits:
commit 0ca07a87b3e34c44fd920b7103bc56c718a1f459
Author: Henry Castro <hcastro at collabora.com>
Date:   Fri Aug 7 08:36:43 2015 -0400

    loolwsd: destroy LOKit when child finished

diff --git a/loolwsd/LOOLKit.cpp b/loolwsd/LOOLKit.cpp
index 4aad389..818fdeb 100644
--- a/loolwsd/LOOLKit.cpp
+++ b/loolwsd/LOOLKit.cpp
@@ -194,6 +194,9 @@ int main(int argc, char** argv)
         queue.clear();
         queue.put("eof");
         queueHandlerThread.join();
+
+        // Destroy LibreOfficeKit
+        loKit->pClass->destroy(loKit);
     }
     catch (Exception& exc)
     {


More information about the Libreoffice-commits mailing list