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

Commit 4181591e authored by T.J. Mercier's avatar T.J. Mercier Committed by Automerger Merge Worker
Browse files

Merge "Make sure we'll always kill process group" into main am: 2ff53e43

parents 5fe48781 2ff53e43
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);
        }
    }