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

Unified Diff: third_party/WebKit/Source/web/WebKit.cpp

Issue 1771353010: Finish completeSweep before shutting down V8 (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/web/WebKit.cpp
diff --git a/third_party/WebKit/Source/web/WebKit.cpp b/third_party/WebKit/Source/web/WebKit.cpp
index 4921ba561e3f7e7e50fefc688d7ef15a01a11409..73141c07eeb58940c990d2dccd765eae18a2cfec 100644
--- a/third_party/WebKit/Source/web/WebKit.cpp
+++ b/third_party/WebKit/Source/web/WebKit.cpp
@@ -184,6 +184,8 @@ void shutdown()
}
#endif
+ ThreadState::current()->cleanupMainThread();
+
// currentThread() is null if we are running on a thread without a message loop.
if (Platform::current()->currentThread()) {
Platform::current()->unregisterMemoryDumpProvider(WebCacheMemoryDumpProvider::instance());

Powered by Google App Engine
This is Rietveld 408576698