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

Unified Diff: third_party/WebKit/Source/modules/InitModules.cpp

Issue 1761853002: Shut down all threads before the main thread shuts down (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: third_party/WebKit/Source/modules/InitModules.cpp
diff --git a/third_party/WebKit/Source/modules/InitModules.cpp b/third_party/WebKit/Source/modules/InitModules.cpp
index a0663452d2d6fd815dd0695722bc11e9dc119a0d..539c6b259c98a8660ef416e3b2d0b6bb9fb324ea 100644
--- a/third_party/WebKit/Source/modules/InitModules.cpp
+++ b/third_party/WebKit/Source/modules/InitModules.cpp
@@ -51,9 +51,12 @@ void ModulesInitializer::init()
ASSERT(isInitialized());
}
-void ModulesInitializer::terminateThreads()
+void ModulesInitializer::shutdown()
{
+ ASSERT(isInitialized());
DatabaseManager::terminateDatabaseThread();
+ CoreInitializer::shutdown();
+
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/InitModules.h ('k') | third_party/WebKit/Source/platform/heap/ThreadState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698