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

Commit 592de2a3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Don't kill subcontext if it's null" am: 932e069f

parents 0cbf9cee 932e069f
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);
}