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

Henry Castro hcastro at collabora.com
Fri Dec 18 12:46:26 PST 2015


 loolwsd/LOOLWSD.cpp |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 8c4421d681c9fca56faabb1a010c4394cef7fb26
Author: Henry Castro <hcastro at collabora.com>
Date:   Fri Dec 18 16:45:30 2015 -0400

    loolwsd: clean up unnecessary code

diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index 184ddfd..a74d867 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -1360,10 +1360,6 @@ int LOOLWSD::main(const std::vector<std::string>& /*args*/)
     // wait broker process finish
     waitpid(-1, &status, WUNTRACED);
 
-    // remove child root
-    if (LOOLWSD::_childId > 0)
-        File(LOOLWSD::childRoot + Path::separator() + std::to_string(LOOLWSD::_childId)).remove(true);
-
     return Application::EXIT_OK;
 }
 


More information about the Libreoffice-commits mailing list