kit/ForKit.cpp |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 38549b0c9b3926ce3e560bede3987723005422d0
Author: Henry Castro <[email protected]>
Date:   Sat Dec 17 07:56:03 2016 -0400

    kit: debug, wait until unique kit die
    
    Very useful to debug preinit stage when it is
    ensured 1 kit process

diff --git a/kit/ForKit.cpp b/kit/ForKit.cpp
index 60595b1..cda0303 100644
--- a/kit/ForKit.cpp
+++ b/kit/ForKit.cpp
@@ -443,6 +443,11 @@ int main(int argc, char** argv)
     int returnValue = Application::EXIT_OK;
     UnitKit::get().returnValue(returnValue);
 
+#if 0
+    int status = 0;
+    waitpid(forKitPid, &status, WUNTRACED);
+#endif
+
     LOG_INF("ForKit process finished.");
     std::_Exit(returnValue);
 }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to