summaryrefslogtreecommitdiffstats
path: root/content/browser/browser_process_sub_thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/browser_process_sub_thread.cc')
-rw-r--r--content/browser/browser_process_sub_thread.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/browser_process_sub_thread.cc b/content/browser/browser_process_sub_thread.cc
index 942ecd9..9a5b78a 100644
--- a/content/browser/browser_process_sub_thread.cc
+++ b/content/browser/browser_process_sub_thread.cc
@@ -64,10 +64,12 @@ void BrowserProcessSubThread::IOThreadPreCleanUp() {
// Destroy all URLRequests started by URLFetchers.
net::URLFetcher::CancelAll();
+#if !defined(OS_IOS)
// If any child processes are still running, terminate them and
// and delete the BrowserChildProcessHost instances to release whatever
// IO thread only resources they are referencing.
BrowserChildProcessHostImpl::TerminateAll();
+#endif // !defined(OS_IOS)
}
} // namespace content