diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp index ee67c4ccc..94be625ac 100644 --- a/loolwsd/LOOLWSD.cpp +++ b/loolwsd/LOOLWSD.cpp @@ -1998,6 +1998,7 @@ int LOOLWSD::main(const std::vector& /*args*/) } // Spawn a new forkit and try to dust it off and resume. + close(ForKitWritePipe); forKitPid = createForKit(); if (forKitPid < 0) {