Reland "Fix crash in web request proxies connection error handler"
This is a reland of a475e1ab Test needed to call Shutdown() so WebRequestAPI is cleaned up properly. Original change's description: > Fix crash in web request proxies connection error handler > > When WebRequestAPI is destroyed, it posts a task to the IO thread to > shutdown the proxies. This crash can happen when the WebRequestAPI is > destroyed, and a connection error happens on one of the proxies (which > accesses data destroyed by the profile) before the ProxySet can be fully > shutdown on the IO thread. This change adds an atomic flag to check to > make sure the WebRequestAPI has not been destroyed before running error > handlers. > > Bug: 878366 > Change-Id: I2f7b98c1d6df7c53a5917444ac996e9b5ef4e794 > Reviewed-on: https://chromium-review.googlesource.com/1196031 > Reviewed-by: Ken Rockot <rockot@chromium.org> > Commit-Queue: Clark DuVall <cduvall@chromium.org> > Cr-Commit-Position: refs/heads/master@{#587749} TBR=rockot@chromium.org Bug: 878366 Change-Id: I97ab12e12fe4955af94138ec5bb64c1391d27598 Reviewed-on: https://chromium-review.googlesource.com/1198567Reviewed-by:Clark DuVall <cduvall@chromium.org> Commit-Queue: Clark DuVall <cduvall@chromium.org> Cr-Commit-Position: refs/heads/master@{#587927}
Showing
Please register or sign in to comment