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

Unified Diff: chrome/browser/devtools/device/port_forwarding_controller.cc

Issue 258433007: DevTools: Fix a DCHECK failure during browser shutdown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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
« no previous file with comments | « chrome/browser/devtools/device/port_forwarding_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/device/port_forwarding_controller.cc
diff --git a/chrome/browser/devtools/device/port_forwarding_controller.cc b/chrome/browser/devtools/device/port_forwarding_controller.cc
index b6338e2632d9c8bb1a81024895823c6ec6b3c672..937aa3477ff286dbb5e659aa860d33f0640dc07c 100644
--- a/chrome/browser/devtools/device/port_forwarding_controller.cc
+++ b/chrome/browser/devtools/device/port_forwarding_controller.cc
@@ -535,7 +535,10 @@ PortForwardingController::PortForwardingController(Profile* profile)
OnPrefsChange();
}
-PortForwardingController::~PortForwardingController() {
+
+PortForwardingController::~PortForwardingController() {}
+
+void PortForwardingController::Shutdown() {
// Existing connection will not be shut down. This might be confusing for
// some users, but the opposite is more confusing.
StopListening();
« no previous file with comments | « chrome/browser/devtools/device/port_forwarding_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698