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

Tor Lillqvist tml at collabora.com
Tue Feb 23 07:29:14 UTC 2016


 loolwsd/LOOLBroker.cpp |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 674ceb90b9537d63576b7d06704a131c93d9ae36
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Feb 23 09:28:48 2016 +0200

    Add comment

diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp
index 3eb8db3..1f447a9 100644
--- a/loolwsd/LOOLBroker.cpp
+++ b/loolwsd/LOOLBroker.cpp
@@ -584,6 +584,8 @@ static int createLibreOfficeKit(const bool sharePages,
     if (fifoWriter < 0)
     {
         Log::error("Error: failed to open write pipe [" + pipeKit + "] with kit. Abandoning child.");
+        // This is an elaborate way to send a SIGINT to childPID: Construct and immediately destroy
+        // a ChildProcess object for it.
         ChildProcess(childPID, -1, -1);
         return -1;
     }


More information about the Libreoffice-commits mailing list