diff options
Diffstat (limited to 'remoting/host/chromoting_host.cc')
-rw-r--r-- | remoting/host/chromoting_host.cc | 5 |
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(); |