[Libreoffice-commits] online.git: loolwsd/LOOLWSD.cpp
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Wed Nov 16 04:42:38 UTC 2016
loolwsd/LOOLWSD.cpp | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 33b7a899477926cf73ef125e4e45efeeadac4f6b
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Tue Nov 15 08:01:07 2016 -0500
loolwsd: close forkit write pipe fd before spawning new forkit
Change-Id: Ib3438359f581ded460a4dcd1514c351d20f7e947
Reviewed-on: https://gerrit.libreoffice.org/30889
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index ee67c4c..94be625 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -1998,6 +1998,7 @@ int LOOLWSD::main(const std::vector<std::string>& /*args*/)
}
// Spawn a new forkit and try to dust it off and resume.
+ close(ForKitWritePipe);
forKitPid = createForKit();
if (forKitPid < 0)
{
More information about the Libreoffice-commits
mailing list