Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index d7a1f3958a4ac9896d8f6c0289a611d7b7a2bd97..4669b8d88020c7a2659bcc9da8fbce395e08f1c2 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -1104,6 +1104,12 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() { |
case BrowserThread::IO: { |
TRACE_EVENT0("shutdown", "BrowserMainLoop::Subsystem:IOThread"); |
ResetThread_IO(std::move(io_thread_)); |
+ |
+ // TODO(alokp): Remove after collecting crash data. |
+ // Temporary checks to verify that all shared workers are terminated. |
horo
2016/08/09 04:03:24
Nit: s/shared workers/shared workers and service w
|
+ // It is suspected that shared workers prevent render process hosts |
+ // from shutting down: crbug.com/608049 |
+ RenderProcessHostImpl::CheckAllWorkersTerminated(); |
break; |
} |
case BrowserThread::UI: |