DescriptionScheduler: Don't shut down the scheduler too soon
We shouldn't terminate the scheduler before ensuring background
threads such as the HTML parser have been stopped. This is
because those threads may schedule new work, leading to a crash
as we're trying to post tasks into a non-existing scheduler.
This patch moves the call to tear down the scheduler right
before terminating blink's Platform abstraction and right after
terminating WTF, as WTF also has a dependency on the scheduler
(callOnMain).
BUG=395420
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178644
Patch Set 1 #
Messages
Total messages: 7 (0 generated)
|