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

Commit 5d411d76 authored by Jing Ji's avatar Jing Ji Committed by Android (Google) Code Review
Browse files

Merge "Fix potential FD leak with PhantomProcessRecord bookkeeping" into sc-dev

parents cbf8dc63 e61bb742
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -305,7 +305,7 @@ public final class PhantomProcessList {
            }
            // Somehow our record doesn't match, remove it anyway
            Slog.w(TAG, "Stale " + proc + ", removing");
            mPhantomProcesses.removeAt(index);
            onPhantomProcessKilledLocked(proc);
        } else {
            // Is this one of the zombie processes we've known?
            final int idx = mZombiePhantomProcesses.indexOfKey(pid);