diff options
-rw-r--r-- | remoting/host/client_session.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc index 905539b..10e4d07 100644 --- a/remoting/host/client_session.cc +++ b/remoting/host/client_session.cc @@ -370,6 +370,8 @@ void ClientSession::OnConnectionClosed( DCHECK(CalledOnValidThread()); DCHECK_EQ(connection_.get(), connection); + HOST_LOG << "Client disconnected: " << client_jid_ << "; error = " << error; + // Ignore any further callbacks. weak_factory_.InvalidateWeakPtrs(); @@ -391,7 +393,6 @@ void ClientSession::OnConnectionClosed( desktop_environment_.reset(); // Notify the ChromotingHost that this client is disconnected. - // TODO(sergeyu): Log failure reason? event_handler_->OnSessionClosed(this); } |