summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/test/content_browser_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/test/content_browser_test.cc b/content/test/content_browser_test.cc
index 146f2c2..6ba8a3f 100644
--- a/content/test/content_browser_test.cc
+++ b/content/test/content_browser_test.cc
@@ -120,6 +120,11 @@ void ContentBrowserTest::RunTestOnMainThreadLoop() {
pool.Recycle();
#endif
+ for (RenderProcessHost::iterator i(RenderProcessHost::AllHostsIterator());
+ !i.IsAtEnd(); i.Advance()) {
+ i.GetCurrentValue()->FastShutdownIfPossible();
+ }
+
Shell::CloseAllWindows();
}