Merge "Fix potential FD leak with PhantomProcessRecord bookkeeping" into sc-dev
This commit is contained in:
@@ -305,7 +305,7 @@ public final class PhantomProcessList {
|
|||||||
}
|
}
|
||||||
// Somehow our record doesn't match, remove it anyway
|
// Somehow our record doesn't match, remove it anyway
|
||||||
Slog.w(TAG, "Stale " + proc + ", removing");
|
Slog.w(TAG, "Stale " + proc + ", removing");
|
||||||
mPhantomProcesses.removeAt(index);
|
onPhantomProcessKilledLocked(proc);
|
||||||
} else {
|
} else {
|
||||||
// Is this one of the zombie processes we've known?
|
// Is this one of the zombie processes we've known?
|
||||||
final int idx = mZombiePhantomProcesses.indexOfKey(pid);
|
final int idx = mZombiePhantomProcesses.indexOfKey(pid);
|
||||||
|
|||||||
Reference in New Issue
Block a user