Chromium Code Reviews
DescriptionMake sure scheduler shutdown prevents idle tasks from running
It looks like a pending delayed IdleHelper::EnableLongIdlePeriod task
was able to sneak in between shutting the scheduler and blink down
and deleting the message loop (which runs up to 100 tasks) resulting
in a UAF when trying to run ThreadState::scheduleIdleLazySweep.
This patch adds a hard shutdown to the idle helper.
BUG=664081
Committed: https://crrev.com/00da829b00a5eb879e8f12e2ecf1b97c81dd8088
Cr-Commit-Position: refs/heads/master@{#431241}
Patch Set 1 #Patch Set 2 : Added a test which fails without the patch. #
Messages
Total messages: 14 (9 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||