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

Unified Diff: remoting/host/remoting_me2me_host.cc

Issue 885693003: Fix DCHECK(!config_watcher_) in HostProcess::~HostProcess(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_script
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/remoting_me2me_host.cc
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index 4bf32f14a54b101511c9f5850c3ef4a39cee33da..bd0f09b3e965a3d67170f698e483661b411133e8 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -1447,6 +1447,8 @@ void HostProcess::ShutdownOnNetworkThread() {
shutdown_watchdog_->SetExitCode(*exit_code_out_);
shutdown_watchdog_->Arm();
+ config_watcher_.reset();
+
if (policy_watcher_.get()) {
policy_watcher_->StopWatching(
base::Bind(&HostProcess::OnPolicyWatcherShutdown, this));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698