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

Commit b3546c64 authored by Oriol Prieto Gasco's avatar Oriol Prieto Gasco Committed by Android (Google) Code Review
Browse files

Merge "Revert "Fix race conditions in removing dying process record""

parents 4b6de53e 4a7bb14c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -5144,8 +5144,7 @@ public final class ProcessList {
        }

        Watchdog.getInstance().processDied(app.processName, app.getPid());
        if (app.getDeathRecipient() == null
                && mDyingProcesses.get(app.processName, app.uid) == app) {
        if (app.getDeathRecipient() == null) {
            // If we've done unlinkDeathRecipient before calling into this, remove from dying list.
            mDyingProcesses.remove(app.processName, app.uid);
            app.setDyingPid(0);