summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/chromoting_host.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index 3e47f54..1bc7b98 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();