Fix a racing condition in ProcessRecord

Bug: 141602830
Bug: 144808687
Test: n/a
Change-Id: I9d67d0733a2eb7f42e23b22ccdc3f3d9b2526ef4
Merged-In: I9d67d0733a2eb7f42e23b22ccdc3f3d9b2526ef4
1 file changed