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

Unified Diff: content/browser/browser_main_loop.cc

Issue 2633053002: Remove the MessageLoop::DestructionObserver from mojo bindings. (Closed)
Patch Set: rebase Created 3 years, 11 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: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index e12d29d529596fe103cd99b25832a27db96f2475..a30bab3f8b97aaa0964962e89be0c9e87de39896 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -1260,6 +1260,10 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() {
device_monitor_mac_.reset();
#endif
+ if (BrowserGpuChannelHostFactory::instance()) {
+ BrowserGpuChannelHostFactory::instance()->CloseChannel();
+ }
+
// Shutdown the Service Manager and IPC.
service_manager_context_.reset();
mojo_ipc_support_.reset();

Powered by Google App Engine
This is Rietveld 408576698