| Index: remoting/host/chromoting_host.cc
|
| diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
|
| index 3e47f543d5ea1e48574c7c4e38e142bf95f4eaa5..1bc7b984f2d362aacc076c16d7bc1b6fd0634042 100644
|
| --- a/remoting/host/chromoting_host.cc
|
| +++ b/remoting/host/chromoting_host.cc
|
| @@ -255,6 +255,11 @@ void ChromotingHost::DoShutdown() {
|
| jingle_client_->Close();
|
| }
|
|
|
| + // Stop the heartbeat sender.
|
| + if (heartbeat_sender_) {
|
| + heartbeat_sender_->Stop();
|
| + }
|
| +
|
| // Lastly call the shutdown task.
|
| if (shutdown_task_.get()) {
|
| shutdown_task_->Run();
|
|
|