common/SigUtil.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 80aa70bd732e2ce4f5ab35b684cfee7469c11421
Author:     Ashod Nakashian <ashod.nakash...@collabora.co.uk>
AuthorDate: Mon Nov 25 10:49:57 2019 -0500
Commit:     Ashod Nakashian <ashnak...@gmail.com>
CommitDate: Tue Nov 26 13:46:57 2019 +0100

    wsd: use SIGKILL to kill a child
    
    This is the cleanest way to achieve the goal
    of immediately exiting a child. This is used
    for cleaning up kit instances when closing
    docs, as well as in unit-tests.
    
    Reviewed-on: https://gerrit.libreoffice.org/83699
    Reviewed-by: Ashod Nakashian <ashnak...@gmail.com>
    Tested-by: Ashod Nakashian <ashnak...@gmail.com>
    (cherry picked from commit a5946b46250a7fd4a63f16c6c0606b0147b13e79)
    
    Change-Id: I76870234b130a508044044b102419646abe81ac8
    Reviewed-on: https://gerrit.libreoffice.org/83759
    Reviewed-by: Ashod Nakashian <ashnak...@gmail.com>
    Tested-by: Ashod Nakashian <ashnak...@gmail.com>

diff --git a/common/SigUtil.cpp b/common/SigUtil.cpp
index a899139aa..566ea14ff 100644
--- a/common/SigUtil.cpp
+++ b/common/SigUtil.cpp
@@ -286,7 +286,7 @@ namespace SigUtil
     bool killChild(const int pid)
     {
         LOG_DBG("Killing PID: " << pid);
-        if (kill(pid, SIGTERM) == 0 || errno == ESRCH)
+        if (kill(pid, SIGKILL) == 0 || errno == ESRCH)
         {
             // Killed or doesn't exist.
             return true;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to