Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ff53e43 authored by T.J. Mercier's avatar T.J. Mercier Committed by Gerrit Code Review
Browse files

Merge "Make sure we'll always kill process group" into main

parents 5f951b7f f67b8d94
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1241,11 +1241,10 @@ class ProcessRecord implements WindowProcessListener {
            killProcessGroup = true;
        }
        if (killProcessGroup) {
            if (async) {
                ProcessList.killProcessGroup(uid, mPid);
            } else {
            if (!async) {
                Process.sendSignalToProcessGroup(uid, mPid, OsConstants.SIGKILL);
            }
            ProcessList.killProcessGroup(uid, mPid);
        }
    }