commit | dd295df6439ebc4e87e9f7b269ae39b15a5886b3 | [log] [tgz] |
---|---|---|
author | Etan Cohen <etancohen@google.com> | Wed Jan 20 21:04:02 2021 -0800 |
committer | Etan Cohen <etancohen@google.com> | Wed Jan 20 21:08:09 2021 -0800 |
tree | d67bf709c019fe7efa735e0d8056178b8dc9c702 | |
parent | 9fcdc982153f72a55ba9d248e8da8da5dfb9a0fd [diff] |
[Provider Model] Check against race condition There can be a race condition of the timeout and operation completion both getting executed - both setting the callback to null - which causes the other one to have an NPE. Bug: 175084231 Test: Testing rapid succession recovery operations Change-Id: If9d8418f1535d0e075c4abf2723c4b2734e8fa1a