Cancel any pending ResumeMainJob task
When we restart jobs with a different proxy configuration, we might have a delayed ResumeMainJob task in our task queue. When this ResumeMainJob() runs, we will crash because the old main job is deleted and we have a new main job. This CL cancels the ResumeMainJob task and adds regression test. Bug: 790776, 789560 Change-Id: Icd2bc9ec36c98c973f80e14541d9f68d0a046835 Reviewed-on: https://chromium-review.googlesource.com/805354 Commit-Queue: Helen Li <xunjieli@chromium.org> Reviewed-by:Zhongyi Shi <zhongyi@chromium.org> Cr-Commit-Position: refs/heads/master@{#521444}
Showing
Please register or sign in to comment