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@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
This commit is contained in:
parent
b47550e566
commit
33b7a89947
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue