heap: Unregister cancelable task immediately after execution
Theoretically, if the scheduler for some reason doesn't destroy the callback right after its execution, CancelableTaskScheduler::CancelAndWait may stall. I'm not sure if this is the reason why performance tests fail with timeouts on win-perf, but it may be related to Windows scheduler specifics. Bug: 987574 Change-Id: Id3bf951c78bf37aae66ce0657e113ddefe9918b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1731930 Commit-Queue: Anton Bikineev <bikineev@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#683514}
Showing
Please register or sign in to comment