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

Commit 932e069f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Don't kill subcontext if it's null"

parents ff3fdf36 5caaa557
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -381,6 +381,9 @@ bool SubcontextChildReap(pid_t pid) {
}

void SubcontextTerminate() {
    if (!subcontext) {
        return;
    }
    subcontext_terminated_by_shutdown = true;
    kill(subcontext->pid(), SIGTERM);
}