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 7e372a387301d2bbb1463e8677a2b64da66da07d..6ca563cf8939e86084b4f42474b1eae250510f3b 100644 |
--- a/remoting/host/win/worker_process_launcher.cc |
+++ b/remoting/host/win/worker_process_launcher.cc |
@@ -228,6 +228,8 @@ void WorkerProcessLauncher::Core::OnChannelConnected(int32 peer_pid) { |
return; |
} |
+ // This can result in |this| being deleted, so this call must be the last in |
+ // this method. |
worker_delegate_->OnChannelConnected(peer_pid); |
} |