Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: Source/web/WebKit.cpp

Issue 399383005: Scheduler: Don't shut down the scheduler too soon (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebKit.cpp
diff --git a/Source/web/WebKit.cpp b/Source/web/WebKit.cpp
index 4a8554ac9be8862df26a553d92978e4d2e6de223..1f04d3f54b969953f38ae4c53a6c27a3c84a49ff 100644
--- a/Source/web/WebKit.cpp
+++ b/Source/web/WebKit.cpp
@@ -207,7 +207,6 @@ void shutdown()
ASSERT(s_isolateInterruptor);
blink::ThreadState::current()->removeInterruptor(s_isolateInterruptor);
- blink::Scheduler::shutdown();
// currentThread will always be non-null in production, but can be null in Chromium unit tests.
if (Platform::current()->currentThread()) {
@@ -239,6 +238,7 @@ void shutdownWithoutV8()
blink::CoreInitializer::shutdown();
blink::Heap::shutdown();
WTF::shutdown();
+ blink::Scheduler::shutdown();
Platform::shutdown();
WebPrerenderingSupport::shutdown();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698