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

Unified Diff: remoting/host/win/worker_process_launcher.cc

Issue 2950993003: [Chromoting] Use ProcessStatsSender in DaemonProcess (daemon process) (Closed)
Patch Set: Stop process stats when network process crashes Created 3 years, 6 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: remoting/host/win/worker_process_launcher.cc
diff --git a/remoting/host/win/worker_process_launcher.cc b/remoting/host/win/worker_process_launcher.cc
index e4bf86cd34650722b1379e60033f044a6a8b616b..e80437965374e782aa2081aa1ed0b81cd1858d3d 100644
--- a/remoting/host/win/worker_process_launcher.cc
+++ b/remoting/host/win/worker_process_launcher.cc
@@ -252,6 +252,8 @@ void WorkerProcessLauncher::StopWorker() {
if (stopping())
return;
+ ipc_handler_->OnWorkerProcessStopped(exit_code_);
+
// Stop trying to restart the worker process if it exited due to
// misconfiguration.
if (kMinPermanentErrorExitCode <= exit_code_ &&

Powered by Google App Engine
This is Rietveld 408576698