Commit 019e9bb4 authored by skyostil@chromium.org's avatar skyostil@chromium.org

scheduler: Shut down the scheduler before terminating the heap

Shut down the scheduler before terminating the heap (i.e.,
PartitionAlloc). This is needed because the scheduler makes heap
allocations that need to be freed at destruction time.

BUG=391005

Review URL: https://codereview.chromium.org/475033002

git-svn-id: svn://svn.chromium.org/blink/trunk@180295 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent d4a5a6ce
...@@ -234,9 +234,9 @@ void shutdownWithoutV8() ...@@ -234,9 +234,9 @@ void shutdownWithoutV8()
{ {
ASSERT(!s_endOfTaskRunner); ASSERT(!s_endOfTaskRunner);
CoreInitializer::shutdown(); CoreInitializer::shutdown();
Scheduler::shutdown();
Heap::shutdown(); Heap::shutdown();
WTF::shutdown(); WTF::shutdown();
Scheduler::shutdown();
Platform::shutdown(); Platform::shutdown();
WebPrerenderingSupport::shutdown(); WebPrerenderingSupport::shutdown();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment