Fix shutdown race in ContentVerifier.
ContentVerifier::Shutdown is called on UI thread, but hash fetching code was testing the corresponding state variable (shutdown_) on IO thread. This is racey. Use sepearte shutdown state variables for each of UI and IO thread instead. Bug: 826621 Change-Id: I7592eede8eec4a85a60526825254b6c7a67e8fdd Reviewed-on: https://chromium-review.googlesource.com/989216 Commit-Queue: Istiaque Ahmed <lazyboy@chromium.org> Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#547377}
Showing
Please register or sign in to comment